public bool Delete(int id) { if (id == 0) { return(false); } var deleteSuccess = _bedRepository.Delete(id); return(true); }