public async Task <PagedResponse <IEnumerable <GetCurrentAccountTransactionHistoryViewModel> > > GetCurrentAccountHistory(GetCurrentAccountTransactionHistoryParameter filter) { using (var client = await _clientHelper.CreateHttpClientAsync(Token)) { try { var response = await client.GetAsync(client.BaseAddress + $"CurrentAccount?CustomerId={filter.CustomerId}&AccountId={filter.AccountId}&PageNumber={filter.PageNumber}&PageSize={filter.PageSize}"); string responseContent = await response.Content.ReadAsStringAsync(); var result = JsonConvert.DeserializeObject <PagedResponse <IEnumerable <GetCurrentAccountTransactionHistoryViewModel> > >(responseContent); return(result); } catch (Exception e) { throw e; } } }