예제 #1
0
        public IHttpActionResult GetRoomByID(string ID)
        {
            RoomModel Room = null;

            try
            {
                Room = roomBLL.GetRoomByID(ID);
            }
            catch (Exception)
            {
                return(BadRequest());
            }
            return(Ok(Room));
        }