public async Task <IActionResult> DeleteLogical(string cpf) { Cliente cliente = await clienteServices.GetAsync(cpf); if (cliente == null) { return(NotFound()); } await clienteServices.DeleteLogicallyAsync(cliente); return(Ok()); }
public async Task <IActionResult> DeleteLogical(string cpf) { Cliente cliente = await clienteServices.GetAsync(cpf); if (cliente == null) { return(NotFound()); } await clienteServices.DeleteLogicallyAsync(cliente); return(Ok()); }