Beispiel #1
0
 public DictionaryCommandHandler(IUnitOfWork unitOfWork,
                                 IServiceBus bus,
                                 IDictionaryRepository dictionaryRepository,
                                 IDictionaryValueRepository dictionaryValueRepository,
                                 IMapper mapper)
 {
     _UnitOfWork                = unitOfWork;
     _Bus                       = bus;
     _DictionaryRepository      = dictionaryRepository;
     _DictionaryValueRepository = dictionaryValueRepository;
     _Mapper                    = mapper;
 }
 public ProjectCommandHandler(IUnitOfWork unitOfWork,
                              //IServiceBus bus,
                              IPublishEndpoint publishEndpoint,
                              ISendEndpointProvider sendEndpointProvider,
                              IProjectRepository projectRepository,
                              IDictionaryValueRepository dictionaryValueRepository,
                              IUserRepository userRepository,
                              IMapper mapper)
 {
     _UnitOfWork = unitOfWork;
     //_Bus = bus;
     _PublishEndpoint           = publishEndpoint;
     _SendEndpointProvider      = sendEndpointProvider;
     _ProjectRepository         = projectRepository;
     _DictionaryValueRepository = dictionaryValueRepository;
     _UserRepository            = userRepository;
     _Mapper = mapper;
 }