//private readonly IGarmentCuttingInDetailRepository _garmentCuttingInDetailRepository;

        public PlaceGarmentSewingDOCommandHandler(IStorage storage)
        {
            _storage = storage;
            _garmentSewingDORepository     = storage.GetRepository <IGarmentSewingDORepository>();
            _garmentSewingDOItemRepository = storage.GetRepository <IGarmentSewingDOItemRepository>();
            //_garmentCuttingInDetailRepository = storage.GetRepository<IGarmentCuttingInDetailRepository>();
        }
Esempio n. 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>();
 }
Esempio n. 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>();
 }
Esempio n. 4
0
 public GarmentSewingDOController(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _garmentSewingDORepository     = Storage.GetRepository <IGarmentSewingDORepository>();
     _garmentSewingDOItemRepository = Storage.GetRepository <IGarmentSewingDOItemRepository>();
 }