public Homework GetHomeworkById(int id) { HomeworkCtrl hwCtrl = new HomeworkCtrl(); return hwCtrl.GetHomeworkById(id); }
public List<Homework> GetAllHomeworkByChild(int childId) { HomeworkCtrl hwCtrl = new HomeworkCtrl(); return hwCtrl.GetAllHomeworkByChild(childId); }
//All the methods that deal with Homework objects public int SubmitHomework(int childId, int assignmentId, DateTime date, string diskName) { HomeworkCtrl hwCtrl = new HomeworkCtrl(); return hwCtrl.SubmitHomework(childId, assignmentId, date, diskName); }
public List<Homework> GetAllHomeworkByAssignment(int assignmentId) { HomeworkCtrl hwCtrl = new HomeworkCtrl(); return hwCtrl.GetAllHomeworkByAssignment(assignmentId); }
public ListForObjects GetAllHomeworksById(int assignmentId) { HomeworkCtrl hmwCtrl = new HomeworkCtrl(); return hmwCtrl.GetAllHomeworksByID(assignmentId); }