public async Task <IEnumerable <Workout> > GetWorkouts()
 {
     return(await _workout.GetWorkouts());
 }
Esempio n. 2
0
        public async Task <ActionResult> Index()
        {
            var list = await _workout.GetWorkouts();

            return(View());
        }