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>(); }
public InitializeDB() { _getProduct = AutoFacHelper.Resolve <IGetProducts>(); _configManager = AutoFacHelper.Resolve <IConfigManager>(); }