public async Task UpdateExchangeRateAsync(Guid id, ExchangeRateUpdateRequestDto input) { var currency = await _repository.GetAsync(id); currency.UpdateExchangeRate(input.ExchangeRate); await _repository.UpdateAsync(currency); }
public Task UpdateExchangeRateAsync(Guid id, ExchangeRateUpdateRequestDto input) { return(_service.UpdateExchangeRateAsync(id, input)); }