Beispiel #1
0
        public async Task <IActionResult> Get()
        {
            var clientes = await _clienteApplicationService.GetAsync();

            if (!clientes.Any())
            {
                return(NotFound());
            }

            return(Ok(clientes));
        }