Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteLogical(string cpf)
        {
            Cliente cliente = await clienteServices.GetAsync(cpf);

            if (cliente == null)
            {
                return(NotFound());
            }
            await clienteServices.DeleteLogicallyAsync(cliente);

            return(Ok());
        }