Esempio n. 1
0
 public ATMService(ICurrencyHttpService currencyHttpService, IATMRepository aTMRepository)
 {
     _currencyHttpService = currencyHttpService;
     _aTMRepository       = aTMRepository;
 }
 public ExchangeService(ICurrencyHttpService currencyHttpService)
 {
     _currencyHttpService = currencyHttpService;
 }
Esempio n. 3
0
 public CurrencyHttpService()
 {
     _currencyHttpService = RestService.For <ICurrencyHttpService>("https://api.exchangeratesapi.io/latest");
 }
Esempio n. 4
0
 public ATMService(IATMRepository aTMRepository, ICurrencyHttpService currencyHttpService)
 {
     _aTMRepository       = aTMRepository;
     _currencyHttpService = currencyHttpService;
 }