public Startup()
 {
     _nopService        = new NopApiService();
     _userContext       = new UserContext();
     _autoCreateNopItem = bool.Parse(WebConfigurationManager.AppSettings["AutoCreateNopItem"]);
     _categoriesAlias   = WebConfigurationManager.AppSettings["CategoriesContentTypeAlias"];
     _productsAlias     = WebConfigurationManager.AppSettings["ProductsContentTypeAlias"];
 }
示例#2
0
 public NopOrdersApiController()
 {
     _nopService  = new NopApiService();
     _userContext = new UserContext();
 }
示例#3
0
 public NopCategoryApiController()
 {
     _nopService = new NopApiService();
 }
 public ShoppingCartService()
 {
     _nopService = new NopApiService();
 }
示例#5
0
 public DefaultController()
 {
     _nopService  = new NopApiService();
     _userContext = new UserContext();
 }
 public OrderService()
 {
     _nopService             = new NopApiService();
     _orderProcessingService = new OrderProcessingService();
 }
 public NopCustomerApiController()
 {
     _nopService = new NopApiService();
 }
示例#8
0
 public NopProductsApiController()
 {
     _nopService = new NopApiService();
 }
示例#9
0
 static Price()
 {
     _nopService = new NopApiService();
 }
示例#10
0
 public NopShoppingCardController()
 {
     _nopService  = new NopApiService();
     _userContext = new UserContext();
 }