public IActionResult Index()
        {
            var trainers = _iTrainerManager.GetAll().ToList();

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

            return(View(entitys));
        }