public IActionResult GetBedsByStatus(Status status) { try { return(Ok(_bedService.GetBedsByStatus(status))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public IActionResult GetBedsByStatus(Status status) { try { return(Ok(_bedService.GetBedsByStatus(status))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }