// GET: ClassType public async Task <ActionResult> Index() { var results = await _classTypeService.GetAllClassTypes(); return(View(results)); }