public GarmentLeftoverWarehouseReceiptAccessoriesService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseReceiptAccessory>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); GarmentUnitReceiptNoteUri = APIEndpoint.Purchasing + "garment-unit-expenditure-notes/"; }
public GarmentLeftoverWarehouseExpenditureFinishedGoodService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseExpenditureFinishedGood>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); }
public GarmentLeftoverWarehouseBalanceStockService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseBalanceStock>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); }
public GarmentLeftoverWarehouseReceiptFinishedGoodService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseReceiptFinishedGood>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); GarmentExpenditureGoodUri = APIEndpoint.GarmentProduction + "expenditure-goods/"; }
public GarmentLeftoverWarehouseExpenditureAccessoriesService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseExpenditureAccessories>(); DbSetItem = DbContext.Set <GarmentLeftoverWarehouseExpenditureAccessoriesItem>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); }
public GarmentLeftoverWarehouseReceiptAvalService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseReceiptAval>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); GarmentAvalProductUri = APIEndpoint.GarmentProduction + "aval-products/"; GarmentAvalComponentUri = APIEndpoint.GarmentProduction + "aval-components/"; }
public GarmentLeftoverWarehouseReceiptFinishedGoodService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseReceiptFinishedGood>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); GarmentExpenditureGoodUri = APIEndpoint.GarmentProduction + "expenditure-goods/"; GarmentUnitDeliveryOrder = APIEndpoint.Purchasing + "garment-unit-delivery-orders/leftoverwarehouse"; GarmentCustomsUri = APIEndpoint.Purchasing + "garment-beacukai/by-poserialnumbers"; }
public GarmentLeftoverWarehouseExpenditureFabricService(InventoryDbContext dbContext, IServiceProvider serviceProvider) { DbContext = dbContext; DbSet = DbContext.Set <GarmentLeftoverWarehouseExpenditureFabric>(); DbSetItem = DbContext.Set <GarmentLeftoverWarehouseExpenditureFabricItem>(); ServiceProvider = serviceProvider; IdentityService = (IIdentityService)serviceProvider.GetService(typeof(IIdentityService)); StockService = (IGarmentLeftoverWarehouseStockService)serviceProvider.GetService(typeof(IGarmentLeftoverWarehouseStockService)); GarmentUnitReceiptNoteUri = APIEndpoint.Purchasing + "garment-unit-expenditure-notes/"; GarmentCoreProductUri = APIEndpoint.Core + "master/garmentProducts"; }
public GarmentLeftoverWarehouseStockController(IIdentityService identityService, IValidateService validateService, IGarmentLeftoverWarehouseStockService service) { IdentityService = identityService; ValidateService = validateService; Service = service; }