public Command CreateCourse(CourseViewModel course) { var courseCommand = course.ToCreateCommand(); new CreateCourseService(courseCommand, _courseRepository); return(courseCommand); }
public Command CreateCourse(CourseViewModel course) { var courseCommand = course.ToCreateCommand(); new CreateCourseService(courseCommand, _courseRepository); return(courseCommand); }