public List <FacultyAssign> GetFacultyAssignList() { var result = from r in context.Sections select r; foreach (var assign in result) { FacultyAssignList.Add(new FacultyAssign(assign.FacultyId, assign.SectionName, assign.CourseId)); } MRoutine routine = new MRoutine(); return(FacultyAssignList); }
public List <routineMaker> GenerateRoutine() { MRoutine routine = new MRoutine(); return(routine.GenerateRoutine()); }