コード例 #1
0
        public List <ClassRoom> GetClassRoomByAttributes(bool whiteboard, bool monitor, bool projector)
        {
            List <ClassRoom> tempclass = new List <ClassRoom>();

            tempclass = dbCtrl.GetClassRoomByAttributes(whiteboard, monitor, projector);
            return(tempclass);
        }
コード例 #2
0
//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);
        }
コード例 #3
0
 public List <ClassRoom> GetAllClassRooms()
 {
     lessThanThree = dBCtrl.GetClassRoomByAttributes(false, false, false);
     lessThanThree = sortClassroomList(lessThanThree);
     return(lessThanThree);
 }