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

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

            return(View(entitys));
        }