Esempio n. 1
0
 public RemoveGarmentExpenditureGoodReturnCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentExpenditureGoodReturnRepository = storage.GetRepository<IGarmentExpenditureGoodReturnRepository>();
     _garmentExpenditureGoodReturnItemRepository = storage.GetRepository<IGarmentExpenditureGoodReturnItemRepository>();
     _garmentFinishedGoodStockRepository = storage.GetRepository<IGarmentFinishedGoodStockRepository>();
     _garmentFinishedGoodStockHistoryRepository = storage.GetRepository<IGarmentFinishedGoodStockHistoryRepository>();
     _garmentComodityPriceRepository = storage.GetRepository<IGarmentComodityPriceRepository>();
     _garmentExpenditureGoodItemRepository = storage.GetRepository<IGarmentExpenditureGoodItemRepository>();
 }
 public GarmentExpenditureGoodReturnController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentExpenditureGoodReturnRepository     = Storage.GetRepository <IGarmentExpenditureGoodReturnRepository>();
     _garmentExpenditureGoodReturnItemRepository = Storage.GetRepository <IGarmentExpenditureGoodReturnItemRepository>();
 }