private async Task <List <TransactionViewModel> > GetAccountTransactions(string accountId)
        {
            var endDate = DateTime.Now.Date;
            var financialYearIterator = _datetimeService.GetBeginningFinancialYear(new DateTime(2017, 4, 1));
            var response = new List <TransactionViewModel>();

            while (financialYearIterator <= endDate)
            {
                try
                {
                    var transactions = await _accountApiClient.GetTransactions(accountId, financialYearIterator.Year,
                                                                               financialYearIterator.Month);

                    response.AddRange(transactions);
                }
                catch (Exception e)
                {
                    _logger.Error(e, $"Exception occured in Account API type of {nameof(TransactionsViewModel)} for period {financialYearIterator.Year}.{financialYearIterator.Month} id {accountId}");
                }
                financialYearIterator = financialYearIterator.AddMonths(1);
            }

            return(GetFilteredTransactions(response));
        }
 public async Task <TransactionsViewModel> GetTransactions(string accountId, int year, int month)
 {
     return(await _inner.GetTransactions(accountId, year, month));
 }