public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = CoursePlanStudentService.DeleteById(id) }); }
public ResponseMessageWrap <int> Update([FromBody] CoursePlanStudent coursePlanStudent) { return(new ResponseMessageWrap <int> { Body = CoursePlanStudentService.Update(coursePlanStudent) }); }
public CoursePlanStudentController(CoursePlanStudentService coursePlanStudentService, ICoursePlanStudentRepository coursePlanStudentRepository) { CoursePlanStudentService = coursePlanStudentService; CoursePlanStudentRepository = coursePlanStudentRepository; }