public IActionResult Index() { var trainers = _iTrainerManager.GetAll().ToList(); return(View(trainers)); }
// GET: Trainers public IActionResult Index() { return(View(_iTrainerManager.GetAll().ToList())); }
public async Task <ViewResult> ShowTrainers() { var entitys = await _manager.GetAll(); return(View(entitys)); }