public async Task <CurrencyPair> GetAverageCurrencyRateByDate(string firstCurrency, string secondCurrency, DateTime startDate, DateTime endDate)
 {
     return(await _currencyService.GetAverageCurencyRateForDates(firstCurrency, secondCurrency, startDate, endDate));
 }