Пример #1
0
 public ActionResult ClassManager()                                          // quản lý lớp
 {
     if (!user.IsAdmin())
     {
         return(View("Error"));
     }
     Model.UpdateLastSeen("Quản Lý Khóa/Lớp", Url.Action("ClassManager"));
     ViewBag.ListSpecialities = Model.GetSpecialities();
     ViewBag.ListGrades       = Model.GetGrades();
     return(View(Model.GetClassesJoin()));
 }