コード例 #1
0
        public async Task <Exercise> CreateExercise(Exercise exerciseToCreate)
        {
            var createdExercise = await _exercisesRepository.CreateOneAsync(exerciseToCreate);

            return(createdExercise);
        }