I have psuedo code, i want to have each forloop have its own return tye from the query on a table. Meaning i want to create each record on a return view if its allowed?
-
-
- public ActionResult List() {
-
- ProdMan db = new ProdMan();
-
- return View(from scheduleList in schedule.Take(5) select scheduleList,
-
- from WeekList in Week.Take(3) select WeekList
-
-
- }
-
- Is this allowed in asp.net mvc