public async Task <IActionResult> CreateAdvertisingCourse(CreateAdvertisingCourseDto input) { try { var course = await _courseAppService.CreateAdvertisingCourse(input); return(Ok(course)); } catch (Exception e) { Console.WriteLine(e); throw; } }
public async Task <IActionResult> CreateAdvertisingCourse(CreateAdvertisingCourseDto input) { try { var course = await _courseAppService.CreateAdvertisingCourse(input); return(Ok(course)); } catch (Exception e) { Console.WriteLine(e); throw; } }