Beispiel #1
0
 public CreateProductHandler(IProductRepository productRepository, IProductFileService productFileService,
                             IDomainEntityEventHandler <ProductOperationDomainEvent> domainEntityEventHandler)
 {
     _productRepository        = productRepository;
     _productFileService       = productFileService;
     _domainEntityEventHandler = domainEntityEventHandler;
 }
 public UpdateUserHandler(IUserRepository userRepository, IDomainEntityEventHandler <UserOperationDomainEvent> domainEntityEventHandler)
 {
     _userRepository           = userRepository;
     _domainEntityEventHandler = domainEntityEventHandler;
 }
Beispiel #3
0
 public DeleteProductHandler(IProductRepository productRepository,
                             IDomainEntityEventHandler <ProductOperationDomainEvent> domainEntityEventHandler)
 {
     _productRepository        = productRepository;
     _domainEntityEventHandler = domainEntityEventHandler;
 }