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>();
 }
Exemplo n.º 3
0
 public GarmentScrapTransactionController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentScrapTransactionRepository     = Storage.GetRepository <IGarmentScrapTransactionRepository>();
     _garmentScrapTransactionItemRepository = Storage.GetRepository <IGarmentScrapTransactionItemRepository>();
 }