Beispiel #1
0
 public List<GetStudentsInCourse_Result> AddToRoster(IdValues ids)
 {
     db.AddToRoster(ids.CourseId, ids.StudentId, ids.IsDeleted);
     var roster = db.GetStudentsInCourse(ids.CourseId);
     return roster.ToList();
 }
Beispiel #2
0
 public List<GetStudentsInCourse_Result> UpdateRoster(IdValues ids)
 {
     List<GetStudentsInCourse_Result> roster = _repo.UpdateRoster(ids);
     return roster;
 }
Beispiel #3
0
 public List<GetStudentsInCourse_Result> Post(IdValues ids)
 {
     ids.IsDeleted = 1;
     List<GetStudentsInCourse_Result> roster = _opp.UpdateRoster(ids);
     return roster;
 }
Beispiel #4
0
 public List<GetStudentsInCourse_Result> AddToRoster(IdValues ids)
 {
     return (_repo.AddToRoster(ids));
 }