public IHttpActionResult GetDetail([FromUri] Guid id) { HttpResponseDTO <Room> response = new HttpResponseDTO <Room>(); try { response.code = 0; response.message = Constanst.SUCCESS; response.data = roomBL.GetDetail(id); } catch (Exception e) { response.code = 500; response.message = Constanst.FAIL; response.data = null; } return(Ok(response)); }