public async Task <IActionResult> Index() { OverViewModel model = new OverViewModel(); model.DepCount = await dep.CountDepartmentAsync(); model.ClassCount = await classe.CountClass(null); model.StudentCount = await stu.CountStudentAsync(); model.TeacherCount = await th.CountTeacherAsync(); return(View(model)); }