Пример #1
0
 public GetAllCuttingOutQueryHandler(IStorage storage)
 {
     _storage = storage;
     _garmentCuttingOutRepository       = storage.GetRepository <IGarmentCuttingOutRepository>();
     _garmentCuttingOutItemRepository   = storage.GetRepository <IGarmentCuttingOutItemRepository>();
     _garmentCuttingOutDetailRepository = storage.GetRepository <IGarmentCuttingOutDetailRepository>();
 }
Пример #2
0
 public RemoveGarmentCuttingOutCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentCuttingOutRepository       = storage.GetRepository <IGarmentCuttingOutRepository>();
     _garmentCuttingOutItemRepository   = storage.GetRepository <IGarmentCuttingOutItemRepository>();
     _garmentCuttingOutDetailRepository = storage.GetRepository <IGarmentCuttingOutDetailRepository>();
     _garmentCuttingInDetailRepository  = storage.GetRepository <IGarmentCuttingInDetailRepository>();
     _garmentSewingDORepository         = storage.GetRepository <IGarmentSewingDORepository>();
     _garmentSewingDOItemRepository     = storage.GetRepository <IGarmentSewingDOItemRepository>();
 }
Пример #3
0
 public GarmentCuttingOutController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentCuttingOutRepository       = Storage.GetRepository <IGarmentCuttingOutRepository>();
     _garmentCuttingOutItemRepository   = Storage.GetRepository <IGarmentCuttingOutItemRepository>();
     _garmentCuttingOutDetailRepository = Storage.GetRepository <IGarmentCuttingOutDetailRepository>();
     _garmentCuttingInRepository        = Storage.GetRepository <IGarmentCuttingInRepository>();
     _garmentCuttingInItemRepository    = Storage.GetRepository <IGarmentCuttingInItemRepository>();
     _garmentCuttingInDetailRepository  = Storage.GetRepository <IGarmentCuttingInDetailRepository>();
     _garmentSewingDORepository         = Storage.GetRepository <IGarmentSewingDORepository>();
     _garmentSewingDOItemRepository     = Storage.GetRepository <IGarmentSewingDOItemRepository>();
 }
Пример #4
0
 public GetXlsLoadingQueryHandler(IStorage storage, IServiceProvider serviceProvider)
 {
     _storage = storage;
     garmentCuttingOutRepository     = storage.GetRepository <IGarmentCuttingOutRepository>();
     garmentCuttingOutItemRepository = storage.GetRepository <IGarmentCuttingOutItemRepository>();
     garmentPreparingRepository      = storage.GetRepository <IGarmentPreparingRepository>();
     garmentPreparingItemRepository  = storage.GetRepository <IGarmentPreparingItemRepository>();
     garmentLoadingRepository        = storage.GetRepository <IGarmentLoadingRepository>();
     garmentLoadingItemRepository    = storage.GetRepository <IGarmentLoadingItemRepository>();
     _http = serviceProvider.GetService <IHttpClientService>();
 }
 public GetMonitoringCuttingQueryHandler(IStorage storage, IServiceProvider serviceProvider)
 {
     _storage = storage;
     garmentCuttingInRepository         = storage.GetRepository <IGarmentCuttingInRepository>();
     garmentCuttingInItemRepository     = storage.GetRepository <IGarmentCuttingInItemRepository>();
     garmentCuttingInDetailRepository   = storage.GetRepository <IGarmentCuttingInDetailRepository>();
     garmentCuttingOutRepository        = storage.GetRepository <IGarmentCuttingOutRepository>();
     garmentCuttingOutItemRepository    = storage.GetRepository <IGarmentCuttingOutItemRepository>();
     garmentPreparingRepository         = storage.GetRepository <IGarmentPreparingRepository>();
     garmentPreparingItemRepository     = storage.GetRepository <IGarmentPreparingItemRepository>();
     garmentAvalComponentRepository     = storage.GetRepository <IGarmentAvalComponentRepository>();
     garmentAvalComponentItemRepository = storage.GetRepository <IGarmentAvalComponentItemRepository>();
     _http = serviceProvider.GetService <IHttpClientService>();
 }
 public GetXlsMonitoringProductionFlowQueryHandler(IStorage storage, IServiceProvider serviceProvider)
 {
     _storage = storage;
     garmentCuttingOutRepository         = storage.GetRepository <IGarmentCuttingOutRepository>();
     garmentCuttingOutItemRepository     = storage.GetRepository <IGarmentCuttingOutItemRepository>();
     garmentCuttingOutDetailRepository   = storage.GetRepository <IGarmentCuttingOutDetailRepository>();
     garmentLoadingRepository            = storage.GetRepository <IGarmentLoadingRepository>();
     garmentLoadingItemRepository        = storage.GetRepository <IGarmentLoadingItemRepository>();
     garmentSewingOutRepository          = storage.GetRepository <IGarmentSewingOutRepository>();
     garmentSewingOutItemRepository      = storage.GetRepository <IGarmentSewingOutItemRepository>();
     garmentSewingOutDetailRepository    = storage.GetRepository <IGarmentSewingOutDetailRepository>();
     garmentFinishingOutRepository       = storage.GetRepository <IGarmentFinishingOutRepository>();
     garmentFinishingOutItemRepository   = storage.GetRepository <IGarmentFinishingOutItemRepository>();
     garmentFinishingOutDetailRepository = storage.GetRepository <IGarmentFinishingOutDetailRepository>();
     _http = serviceProvider.GetService <IHttpClientService>();
 }