Esempio n. 1
0
        public async Task <ActionResult> Create()
        {
            var viewModel = new ExerciseViewModel()
            {
                Exercise = new Exercise(),
                Levels   = await _levelService.GetAllLevelsAsync()
            };

            return(View("TaskForm", viewModel));
        }