public RemoveGarmentScrapTransactionCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentScrapTransactionRepository     = storage.GetRepository <IGarmentScrapTransactionRepository>();
     _garmentScrapTransactionItemRepository = storage.GetRepository <IGarmentScrapTransactionItemRepository>();
     _garmentScrapStockRepository           = storage.GetRepository <IGarmentScrapStockRepository>();
 }
 public PlaceGarmentScrapTransactionCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentScrapTransactionRepository     = storage.GetRepository <IGarmentScrapTransactionRepository>();
     _garmentScrapTransactionItemRepository = storage.GetRepository <IGarmentScrapTransactionItemRepository>();
     //_garmentScrapSourceRepository = storage.GetRepository<IGarmentScrapSourceRepository>();
     //_garmentScrapDestinationRepository = storage.GetRepository<IGarmentScrapDestinationRepository>();
     _garmentScrapStockRepository = storage.GetRepository <IGarmentScrapStockRepository>();
 }
Esempio n. 3
0
 public GarmentScrapStockController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentScrapStockRepository = Storage.GetRepository <IGarmentScrapStockRepository>();
 }