public async Task <ActionResult <BankAccountModel[]> > Get(int customerId)
        {
            try
            {
                var results = await _repository.GetAllBankAccountesAsync(customerId);

                return(_mapper.Map <BankAccountModel[]>(results));
            }
            catch (Exception)
            {
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Database Failure"));
            }
        }
        public async Task <ActionResult <BankAccountModel[]> > Get(int customerId)
        {
            try
            {
                var results = await _repository.GetAllBankAccountesAsync(customerId);

                return(_mapper.Map <BankAccountModel[]>(results));
            }
            catch (Exception e)
            {
                _logger.LogError(e, e.Message);
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Request Failure"));
            }
        }