public ExchangeCurrencyRulesEngine(ICurrencyContext context, ICurrencyRepository ratesRepository)
 {
     this.currencyContext  = context;
     this.ratesRepository  = ratesRepository;
     feeBasedExchangeRules = new List <IRule>
     {
         new CurrentCurrencyExchangeRatesRule(this.ratesRepository),
         new ExchangeFeeCurrencyRule()
     };
 }
 public CurrencyRepository(ICurrencyContext context)
 {
     _context = context;
 }
 public CurrencyRepository()
 {
     _context = new CurrencyContext();
 }