/// <summary>
        /// Written: 02/12/2013
        /// </summary>
        /// <param name="buildingId"></param>
        /// <param name="roomName"></param>
        /// <param name="roomDescription"></param>
        /// <param name="roomTypeId"></param>
        /// <returns></returns>
        public int CreateNewRoom(int buildingId, string roomName, string roomDescription, int roomTypeId)
        {
            var roomId = RoomIdGeneration();

                if (roomId == 0)
                {
                    return 0;
                }

                var newRoom = new Room()
                {
                    RoomId = roomId,
                    RoomName = roomName,
                    RoomDescription = roomDescription,
                    RoomType = roomTypeId,
                    Building = buildingId
                };

                db.Rooms.Add(newRoom);
                db.SaveChanges();

                return roomId;
        }
        /// <summary>
        /// New room object added to database
        /// by data taht has been passed in from client
        /// </summary>
        /// <param name="buildingId"></param>
        /// <param name="roomName"></param>
        /// <param name="roomDescription"></param>
        /// <param name="roomCapacity"></param>
        /// <param name="roomTypeId"></param>
        /// <param name="creatorId"></param>
        /// <returns></returns>
        public int CreateNewRoom(int buildingId, string roomName, string roomDescription, int roomCapacity, int roomTypeId, int creatorId)
        {
            //room id generated
            var roomId = RoomIdGeneration();

            if (roomId == 0)
            {
                return 0;
            }
            //new room object created to be added to database
            var newRoom = new Room
            {
                RoomId = roomId,
                RoomName = roomName,
                Capacity = roomCapacity,
                RoomDescription = roomDescription,
                RoomType = roomTypeId,
                Building = buildingId,
                CreateDate = DateTime.Now,
                Creator = creatorId
            };
            //room object added to database
            _dBase.Rooms.Add(newRoom);
            _dBase.SaveChanges();
            //room id returned
            return roomId;
        }