public IActionResult Patch(int id) { try { Cliente currentModel = _clienteBusiness.Get(id); if (currentModel == null) { return(NotFound()); } _clienteBusiness.Active(currentModel); return(Ok()); } catch (Exception ex) { throw ex; } }