// GET api/Room/5
        public roomDTO Getroom(int id)
        {
            room room = db.rooms.Single(r => r.id == id);

            if (room == null)
            {
                throw new HttpResponseException(Request.CreateResponse(HttpStatusCode.NotFound));
            }

            return(room.toDTO());
        }