Example #1
0
 public GarmentCuttingInController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentCuttingInRepository       = Storage.GetRepository <IGarmentCuttingInRepository>();
     _garmentCuttingInItemRepository   = Storage.GetRepository <IGarmentCuttingInItemRepository>();
     _garmentCuttingInDetailRepository = Storage.GetRepository <IGarmentCuttingInDetailRepository>();
     _garmentPreparingItemRepository   = Storage.GetRepository <IGarmentPreparingItemRepository>();
 }
Example #2
0
 public UpdateGarmentCuttingInCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentCuttingInRepository       = storage.GetRepository <IGarmentCuttingInRepository>();
     _garmentCuttingInItemRepository   = storage.GetRepository <IGarmentCuttingInItemRepository>();
     _garmentCuttingInDetailRepository = storage.GetRepository <IGarmentCuttingInDetailRepository>();
     _garmentPreparingItemRepository   = storage.GetRepository <IGarmentPreparingItemRepository>();
 }
 public GarmentSubconCuttingOutController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentCuttingOutRepository       = Storage.GetRepository <IGarmentSubconCuttingOutRepository>();
     _garmentCuttingOutItemRepository   = Storage.GetRepository <IGarmentSubconCuttingOutItemRepository>();
     _garmentCuttingOutDetailRepository = Storage.GetRepository <IGarmentSubconCuttingOutDetailRepository>();
     _garmentCuttingInRepository        = Storage.GetRepository <IGarmentCuttingInRepository>();
     _garmentCuttingInItemRepository    = Storage.GetRepository <IGarmentCuttingInItemRepository>();
     _garmentCuttingInDetailRepository  = Storage.GetRepository <IGarmentCuttingInDetailRepository>();
 }
Example #4
0
 public GetXlsExpenditureGoodQueryHandler(IStorage storage, IServiceProvider serviceProvider)
 {
     _storage = storage;
     garmentExpenditureGoodRepository     = storage.GetRepository <IGarmentExpenditureGoodRepository>();
     garmentExpenditureGoodItemRepository = storage.GetRepository <IGarmentExpenditureGoodItemRepository>();
     garmentPreparingRepository           = storage.GetRepository <IGarmentPreparingRepository>();
     garmentPreparingItemRepository       = storage.GetRepository <IGarmentPreparingItemRepository>();
     garmentCuttingInRepository           = storage.GetRepository <IGarmentCuttingInRepository>();
     _http = serviceProvider.GetService <IHttpClientService>();
 }
Example #5
0
 public RemoveGarmentSewingOutCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentSewingOutRepository       = storage.GetRepository <IGarmentSewingOutRepository>();
     _garmentSewingOutItemRepository   = storage.GetRepository <IGarmentSewingOutItemRepository>();
     _garmentSewingOutDetailRepository = storage.GetRepository <IGarmentSewingOutDetailRepository>();
     _garmentSewingInItemRepository    = storage.GetRepository <IGarmentSewingInItemRepository>();
     _garmentCuttingInRepository       = storage.GetRepository <IGarmentCuttingInRepository>();
     _garmentCuttingInItemRepository   = storage.GetRepository <IGarmentCuttingInItemRepository>();
     _garmentCuttingInDetailRepository = storage.GetRepository <IGarmentCuttingInDetailRepository>();
 }
Example #6
0
 public GetXlsPrepareQueryHandler(IStorage storage, IServiceProvider serviceProvider)
 {
     _storage = storage;
     garmentPreparingRepository          = storage.GetRepository <IGarmentPreparingRepository>();
     garmentPreparingItemRepository      = storage.GetRepository <IGarmentPreparingItemRepository>();
     garmentCuttingInRepository          = storage.GetRepository <IGarmentCuttingInRepository>();
     garmentCuttingInItemRepository      = storage.GetRepository <IGarmentCuttingInItemRepository>();
     garmentCuttingInDetailRepository    = storage.GetRepository <IGarmentCuttingInDetailRepository>();
     garmentAvalProductRepository        = storage.GetRepository <IGarmentAvalProductRepository>();
     garmentAvalProductItemRepository    = storage.GetRepository <IGarmentAvalProductItemRepository>();
     garmentDeliveryReturnRepository     = storage.GetRepository <IGarmentDeliveryReturnRepository>();
     garmentDeliveryReturnItemRepository = storage.GetRepository <IGarmentDeliveryReturnItemRepository>();
     _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 UpdateDatesGarmentCuttingInCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentCuttingInRepository = storage.GetRepository <IGarmentCuttingInRepository>();
 }