public CartController() { var dataService = new Irbis.DataService.Init(); _сartDataService = dataService.СartDataService; _orderDataService = dataService.OrderDataService; }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); var dataService = new Irbis.DataService.Init(); _tokenDataService = dataService.TokenDataService; _сartDataService = dataService.СartDataService; }
public CategoryController() { var dataService = new Irbis.DataService.Init(); _productDataService = dataService.ProductDataService; }
public OrderController() { var dataService = new Irbis.DataService.Init(); _orderDataService = dataService.OrderDataService; }