public void GetRoomByRoomIdTest1()
        {
            Room room = roomDAL.GetRoomByRoomId(1);

            Assert.NotNull(room);
            Assert.Equal(1, room.RoomId);
        }
        public Room GetRoomByRoomId(int?roomId)
        {
            if (roomId == null)
            {
                return(null);
            }

            Regex           regex           = new Regex("[0-9]");
            MatchCollection matchCollection = regex.Matches(roomId.ToString());

            if (matchCollection.Count < roomId.ToString().Length)
            {
                return(null);
            }
            return(rdal.GetRoomByRoomId(roomId));
        }