public IHttpActionResult GetRoomByID(string ID) { RoomModel Room = null; try { Room = roomBLL.GetRoomByID(ID); } catch (Exception) { return(BadRequest()); } return(Ok(Room)); }