Exemple #1
0
        public async Task Create(CourseDto courses)
        {
            var createCourseCommand = new CreateCourseCommand
            {
                Name        = courses.Name,
                Description = courses.Description,
                ImageUrl    = courses.ImageUrl
            };

            await _bus.Send(createCourseCommand);
        }