Esempio n. 1
0
 public ProductionOrderFacade(IServiceProvider serviceProvider, SalesDbContext dbContext)
 {
     this.DbContext            = dbContext;
     this.DbSet                = DbContext.Set <ProductionOrderModel>();
     this.identityService      = serviceProvider.GetService <IIdentityService>();
     this.productionOrderLogic = serviceProvider.GetService <ProductionOrderLogic>();
     this.finishingPrintingSalesContractLogic = serviceProvider.GetService <FinishingPrintingSalesContractLogic>();
 }