Ejemplo n.º 1
0
 public ActionResult Deferment()
 {
     ViewBag.Modules       = WebServices.Modules(GetStudentInfo().Programme);
     ViewBag.Terms         = WebServices.Terms();
     ViewBag.User          = new ApplicationDbContext().Users.Where(x => x.UserName == User.Identity.Name).FirstOrDefault();
     ViewBag.AcademicYears = WebServices.AcademicYearList();
     ViewBag.Departments   = WebServices.Departments();
     ViewBag.No            = GetStudentInfo().No;
     return(View());
 }