Beispiel #1
0
        public async Task CreateAsync(CourseModel model)
        {
            Course course = CourseMapper.MapCourseModelToCourse(model);

            course.Id = new Guid().ToString();

            await _courseRepository.CreateAsync(course);
        }