public IHttpActionResult GetLessons(int?studentId = null, string startDate = null, string endDate = null, bool isFromCompletion = false) { // if(!isFromCompletion) CommonTasks.DoCommonTasks(); return(Ok(LessonsService.GetLessons(studentId, startDate, endDate, isFromCompletion))); }
public IHttpActionResult GetSetMonthlyReports(int id, string date, string text, int type) { return(Ok(LessonsService.GetSetMonthlyReports(id, date, text, type))); }
public IHttpActionResult GetSetSchedularTask(DataModels.SchedularTasks schedular, int lessonId, int resourceId, int type) { return(Ok(LessonsService.GetSetSchedularTask(schedular, lessonId, resourceId, type))); }
public IHttpActionResult getifLessonsHaveMoreOneRider(int lessonId) { return(Ok(LessonsService.GetifLessonsHaveMoreOneRider(lessonId))); }
public IHttpActionResult DeleteOnlyStudentLesson(int lessonId, int userId, bool deleteChildren) { return(Ok(LessonsService.DeleteOnlyStudentLesson(lessonId, userId, deleteChildren))); }
public IHttpActionResult DeleteLesson(int lessonId, bool deleteChildren) { LessonsService.DeleteLesson(lessonId, deleteChildren); return(Ok()); }
public IHttpActionResult UpdateLessonDetails(JObject lesson) { return(Ok(LessonsService.UpdateLessonDetails(lesson))); }
public IHttpActionResult UpdateLesson(JObject lesson, bool changeChildren, int?lessonsQty) { return(Ok(LessonsService.UpdateLesson(lesson, changeChildren, lessonsQty))); }
public IHttpActionResult UpdateStudentLessonsStatuses(JArray Statuses) { LessonsService.UpdateStudentLessonsStatuses(Statuses); return(Ok()); }