public async Task <List <AccountResponse> > GetAllAccounts()
        {
            var accounts = await _accountDataAgent.GetAllAccounts();

            _logger.Information($"Accounts count - {accounts.Count}");

            return(accounts.Select(x => _accountMapper.MapToResponse(x)).ToList());
        }
        public async Task <List <AccountResponse> > GetCustomerAccounts(int id)
        {
            var accounts = await _customerDataAgent.GetCustomerAccounts(id);

            _logger.Information($"Customer's accounts retrieved. Count - {accounts.Count}");

            return(accounts.Select(x => _accountMapper.MapToResponse(x)).ToList());
        }