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