public static RoomOpResult UpdateRoom(MeetingRoom room) { if (DALMeetingRoom.IsRoomExists(room.RoomCode, room.RoomName, room.RoomID)) { return(RoomOpResult.Duplicate); } else { DALMeetingRoom.UpdateRoom(room); return(RoomOpResult.Success); } }
public static List <MeetingRoom> GetActiveRooms() { return(DALMeetingRoom.SelectActiveRooms()); }
public static MeetingRoom GetRoomByID(int roomID) { return(DALMeetingRoom.SelectRoomByID(roomID)); }