public ActionResult CheckInList(int BranchId, string UserName) { //ViewBag.HrefAssignment = "popupStudentCheckIn"; ViewBag.Title = "Check In List"; BranchModel b = BranchModel.GetBranchById(BranchId); CounslerModel counsler = Utils.Utils.GetCounslerFromRequest(UserName); var studentLightList = StudentLight.BuildStudentLight(b.StudentsList); StudentLightModelToView studentModelToView = new StudentLightModelToView(studentLightList, counsler); return View(studentModelToView); }
public ActionResult LunchList(int BranchId, string UserName) { ViewBag.Message = "LunchList."; BranchModel b = BranchModel.GetBranchById(BranchId); CounslerModel counsler = Utils.Utils.GetCounslerFromRequest(UserName); var studentLightList = StudentLight.BuildStudentLight(b.StudentsList); StudentLightModelToView studentModelToView = new StudentLightModelToView(studentLightList, counsler); return View(studentModelToView); return View("CheckInList", studentModelToView); }
public ActionResult PickUpList(int BranchId, string UserName) { ViewBag.Title = "Pick Up Student List"; //ViewBag.Message = "PickUpList."; //ViewBag.RedirectMethodName = "StudentsInfoList"; //ViewBag.DataRel = ""; BranchModel b = BranchModel.GetBranchById(BranchId); CounslerModel counsler = Utils.Utils.GetCounslerFromRequest(UserName); var studentLightList = StudentLight.BuildStudentLight(b.StudentsList); StudentLightModelToView studentModelToView = new StudentLightModelToView(studentLightList, counsler); return View(studentModelToView); }
public ActionResult StudentsInfo(int BranchId, string UserName) { ViewBag.Title = "Students Info"; BranchModel b = BranchModel.GetBranchById(BranchId); CounslerModel counsler = Utils.Utils.GetCounslerFromRequest(UserName); var studentLightList = StudentLight.BuildStudentLight(b.StudentsList); StudentLightModelToView studentModelToView = new StudentLightModelToView(studentLightList, counsler); return View(studentModelToView); }