Exemplo n.º 1
0
        public async Task <IActionResult> CreateAdvertisingCourse(CreateAdvertisingCourseDto input)
        {
            try
            {
                var course = await _courseAppService.CreateAdvertisingCourse(input);

                return(Ok(course));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }