Beispiel #1
0
 public StoreUpdateCommand(IRepository <Entities.StoreModule.Store> repository, IStoreValidator storeValidator, IInternalCommandService internalCommandService, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _internalCommandService = internalCommandService;
     _repository             = repository;
     _storeValidator         = storeValidator;
 }
 public StoreCreateCommand(IRepository <Entities.StoreModule.Store> storeRepository,
                           IInternalCommandService internalCommandService, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _storeRepository        = storeRepository;
     _internalCommandService = internalCommandService;
     _mapper = mapper;
 }
Beispiel #3
0
 public ProductCreateCommand(IDtoValidatorFactory dtoValidatorFactory, IInternalCommandService internalCommandService, IProductQuery productQuery, IProductValidator productValidator, IStoreValidator storeValidator)
     : base(dtoValidatorFactory, false)
 {
     _internalCommandService = internalCommandService;
     _productQuery           = productQuery;
     _productValidator       = productValidator;
     _storeValidator         = storeValidator;
 }
 public ProductValidator(IInternalCommandService internalCommandService, IProductQuery productQuery)
 {
     _internalCommandService = internalCommandService;
     _productQuery           = productQuery;
 }
Beispiel #5
0
 public StoreValidator(IInternalCommandService internalCommandService)
 {
     _internalCommandService = internalCommandService;
 }
Beispiel #6
0
 public AddressValidator(IInternalCommandService internalCommandService)
 {
     _internalCommandService = internalCommandService;
 }
 public ExternalCommandService(ICommandFactory commandFactory, IDbContext dbContext)
     : base(commandFactory)
 {
     _dbContext = dbContext;
     _internalCommandService = new InternalCommandService(commandFactory);
 }
Beispiel #8
0
 public InternalCommandExecutor(IInternalCommandService internalCommandService)
 {
     _internalCommandService = internalCommandService;
 }