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