public PlaceGarmentExpenditureGoodCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentExpenditureGoodRepository          = storage.GetRepository <IGarmentExpenditureGoodRepository>();
     _garmentExpenditureGoodItemRepository      = storage.GetRepository <IGarmentExpenditureGoodItemRepository>();
     _garmentFinishedGoodStockRepository        = storage.GetRepository <IGarmentFinishedGoodStockRepository>();
     _garmentFinishedGoodStockHistoryRepository = storage.GetRepository <IGarmentFinishedGoodStockHistoryRepository>();
     _garmentComodityPriceRepository            = storage.GetRepository <IGarmentComodityPriceRepository>();
 }
Example #2
0
 public RemoveGarmentFinishingOutCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentFinishingOutRepository             = storage.GetRepository <IGarmentFinishingOutRepository>();
     _garmentFinishingOutItemRepository         = storage.GetRepository <IGarmentFinishingOutItemRepository>();
     _garmentFinishingOutDetailRepository       = storage.GetRepository <IGarmentFinishingOutDetailRepository>();
     _garmentFinishingInItemRepository          = storage.GetRepository <IGarmentFinishingInItemRepository>();
     _garmentFinishedGoodStockRepository        = storage.GetRepository <IGarmentFinishedGoodStockRepository>();
     _garmentFinishedGoodStockHistoryRepository = storage.GetRepository <IGarmentFinishedGoodStockHistoryRepository>();
     _garmentComodityPriceRepository            = storage.GetRepository <IGarmentComodityPriceRepository>();
 }
 public PlaceGarmentAdjustmentCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentAdjustmentRepository               = storage.GetRepository <IGarmentAdjustmentRepository>();
     _garmentAdjustmentItemRepository           = storage.GetRepository <IGarmentAdjustmentItemRepository>();
     _garmentSewingDOItemRepository             = storage.GetRepository <IGarmentSewingDOItemRepository>();
     _garmentSewingInItemRepository             = storage.GetRepository <IGarmentSewingInItemRepository>();
     _garmentFinishingInItemRepository          = storage.GetRepository <IGarmentFinishingInItemRepository>();
     _garmentFinishedGoodStockRepository        = storage.GetRepository <IGarmentFinishedGoodStockRepository>();
     _garmentFinishedGoodStockHistoryRepository = storage.GetRepository <IGarmentFinishedGoodStockHistoryRepository>();
     _garmentComodityPriceRepository            = storage.GetRepository <IGarmentComodityPriceRepository>();
 }
 public GarmentFinishedGoodStockController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentFinishedGoodStockRepository = Storage.GetRepository <IGarmentFinishedGoodStockRepository>();
 }