public IActionResult GetBedsById(long id) { try { return(Ok(_bedService.GetBedsById(id))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public IActionResult GetBedsById(long id) { try { return(Ok(_bedService.GetBedsById(id))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }