public Startup() { _nopService = new NopApiService(); _userContext = new UserContext(); _autoCreateNopItem = bool.Parse(WebConfigurationManager.AppSettings["AutoCreateNopItem"]); _categoriesAlias = WebConfigurationManager.AppSettings["CategoriesContentTypeAlias"]; _productsAlias = WebConfigurationManager.AppSettings["ProductsContentTypeAlias"]; }
public NopOrdersApiController() { _nopService = new NopApiService(); _userContext = new UserContext(); }
public NopCategoryApiController() { _nopService = new NopApiService(); }
public ShoppingCartService() { _nopService = new NopApiService(); }
public DefaultController() { _nopService = new NopApiService(); _userContext = new UserContext(); }
public OrderService() { _nopService = new NopApiService(); _orderProcessingService = new OrderProcessingService(); }
public NopCustomerApiController() { _nopService = new NopApiService(); }
public NopProductsApiController() { _nopService = new NopApiService(); }
static Price() { _nopService = new NopApiService(); }
public NopShoppingCardController() { _nopService = new NopApiService(); _userContext = new UserContext(); }