// GET api/rooms/ public IEnumerable <Room> GetAllRoomDetails() { IEnumerable <Room> roomDetails = exchange.GetAllRoomsDetails(); return(roomDetails); }