public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = CoursePlanCourseService.DeleteById(id) }); }
public ResponseMessageWrap <int> Update([FromBody] CoursePlanCourse coursePlanCourse) { return(new ResponseMessageWrap <int> { Body = CoursePlanCourseService.Update(coursePlanCourse) }); }
public CoursePlanCourseController(CoursePlanCourseService coursePlanCourseService, ICoursePlanCourseRepository coursePlanCourseRepository) { CoursePlanCourseService = coursePlanCourseService; CoursePlanCourseRepository = coursePlanCourseRepository; }