Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 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();
 }