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>();
 }
Beispiel #2
0
 public RemoveGarmentSubconCuttingOutCommandHandler(IStorage storage)
 {
     _storage = storage;
     _garmentCuttingOutRepository            = storage.GetRepository <IGarmentSubconCuttingOutRepository>();
     _garmentCuttingOutItemRepository        = storage.GetRepository <IGarmentSubconCuttingOutItemRepository>();
     _garmentCuttingOutDetailRepository      = storage.GetRepository <IGarmentSubconCuttingOutDetailRepository>();
     _garmentCuttingInDetailRepository       = storage.GetRepository <IGarmentCuttingInDetailRepository>();
     _garmentSubconCuttingRepository         = storage.GetRepository <IGarmentSubconCuttingRepository>();
     _garmentSubconCuttingRelationRepository = storage.GetRepository <IGarmentSubconCuttingRelationRepository>();
 }