public List <ClassRoom> GetClassRoomByAttributes(bool whiteboard, bool monitor, bool projector) { List <ClassRoom> tempclass = new List <ClassRoom>(); tempclass = dbCtrl.GetClassRoomByAttributes(whiteboard, monitor, projector); return(tempclass); }
//True data for algoritm //Generating desired classrooms public List <ClassRoom> FetchClassRooms() { List <ClassRoom> cr = new List <ClassRoom>(); DBCtrl dbC = new DBCtrl(); cr = dbC.GetClassRoomByAttributes(false, false, false); return(cr); }
public List <ClassRoom> GetAllClassRooms() { lessThanThree = dBCtrl.GetClassRoomByAttributes(false, false, false); lessThanThree = sortClassroomList(lessThanThree); return(lessThanThree); }