public IActionResult DeleteHouse(int id) { try { _houseService.DeleteHouse(id); return(AcceptedAtAction("DeleteHouse")); } catch (Exception) { return(NotFound()); } }