Пример #1
0
 public CheckoutManager(string serverFilePath)
 {
     this.serverFilePath = serverFilePath;
     _getOrder           = AutoFacHelper.Resolve <IGetOrders>();
     _getOrderItems      = AutoFacHelper.Resolve <IGetOrderItems>();
     _getCustomer        = AutoFacHelper.Resolve <IGetCustomer>();
     _getCustomerAddress = AutoFacHelper.Resolve <IGetCustomerAddress>();
     _getPaymentOption   = AutoFacHelper.Resolve <IGetPaymentOption>();
     _getCart            = AutoFacHelper.Resolve <IGetCart>();
 }
Пример #2
0
 public InitializeDB()
 {
     _getProduct    = AutoFacHelper.Resolve <IGetProducts>();
     _configManager = AutoFacHelper.Resolve <IConfigManager>();
 }