Ejemplo n.º 1
0
            public async Task <List <Domain.Models.CuentaBancaria> > Handle(Query request, CancellationToken cancellationToken)
            {
                List <Domain.Models.CuentaBancaria> cuentaBancarias = await _repository.GetAllBankAccountFromAUser(request.IdUser);

                return(cuentaBancarias != null && cuentaBancarias.Count > 0 ? cuentaBancarias : null);
            }