Exemplo n.º 1
0
 public ActionResult TeacherManager()
 {
     if (!user.IsAdmin())
     {
         return(View("Error"));
     }
     Model.UpdateLastSeen("Quản Lý Giáo Viên", Url.Action("TeacherManager"));
     ViewBag.ListSpecialities = Model.GetSpecialities();
     return(View(Model.GetTeachers()));
 }