public IActionResult UpdateBed(Bed bed) { try { _bedService.Update(bed); return(Ok("Successfull")); } catch (Exception ex) { return(BadRequest(ex.Message)); } }