// GET: Teacher public ActionResult Index() { if (!user.IsTeacher()) { return(View("Error")); } Model.UpdateLastLogin(); Model.UpdateLastSeen("Trang Chủ", Url.Action("Index")); return(View(Model.GetListTest())); }