예제 #1
0
        public async Task <IActionResult> GetCuentas([FromRoute] string identificacion)
        {
            var result = await Task.Run(() => context.GetClienteCuentas(identificacion));

            if (result == null)
            {
                return(NotFound("Cliente no tiene Cuentas"));
            }

            return(Ok(result));
        }