public async Task <ActionResult <IReadOnlyCollection <ExchangeRateProviderModel> > > GetProviderExchangeRates(string provider) { UserViewModel user = await GetCurrentUserAsync(); if (user == null) { return(HandleUserNotFoundResult()); } IReadOnlyCollection <ExchangeRateProviderModel> result = await _exchangeRateService.FetchProviderExchangeRatesAsync(user.Id, provider); return(Ok(result)); }