// this could be a WCF service... public async Task <double> ConvertAmount(double amount, string fromCurrency, string toCurrency) { return(_bankAccountRepository.Convert(amount, fromCurrency, toCurrency));; }