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