public async Task Post([FromBody] ClassRoomRequest request) { await ClassRoomCourseService.AddAsync(base.SchoolId, request); }
public async Task SetDisable(long roomCourseId) { ClassRoomCourseService classRoomService = new ClassRoomCourseService(roomCourseId); await classRoomService.SetCourseDisable(); }
public async Task Delete(long roomCourseId) { ClassRoomCourseService classRoomService = new ClassRoomCourseService(roomCourseId); await classRoomService.Remove(); }
public async Task Put(long roomCourseId, [FromBody] ClassRoomRequest request) { ClassRoomCourseService classRoomService = new ClassRoomCourseService(roomCourseId); await classRoomService.Modify(request); }