public ProductAdminController()
 {
     this.publishingService = new PublishingService<auRant.Core.Entities.Product, DraftProduct, ProductRepository>(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.productCategoryService = new ProductCategoryService(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.productStatusService = new ProductStatusService(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.supplierService = new SupplierService(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.helperService = new HelperService();
 }
Beispiel #2
0
 public TableController()
 {
     this.publishingService = new PublishingService<Table, DraftTable, TableRepository>(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.productStatusService = new ProductStatusService(ContextFactory.GetContext(System.Web.HttpContext.Current));
     this.helperService = new HelperService();
 }