Example #1
0
 public ResponseMessageWrap <int> DeleteById(long id)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = CoursePlanGroupService.DeleteById(id)
     });
 }
Example #2
0
 public ResponseMessageWrap <int> Update([FromBody] CoursePlanGroup coursePlanGroup)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = CoursePlanGroupService.Update(coursePlanGroup)
     });
 }
Example #3
0
 public CoursePlanGroupController(CoursePlanGroupService coursePlanGroupService, ICoursePlanGroupRepository coursePlanGroupRepository)
 {
     CoursePlanGroupService    = coursePlanGroupService;
     CoursePlanGroupRepository = coursePlanGroupRepository;
 }