public PersonDeletedEventHandler(IPersonCategoryRepository personCategoryRepository,
                                  IPersonPerCityCounterRepository personPerCityCounterRepository,
                                  ITransactionManager transactionManager)
 {
     PersonCategoryRepository       = personCategoryRepository;
     PersonPerCityCounterRepository = personPerCityCounterRepository;
     TransactionManager             = transactionManager;
 }
Example #2
0
 public PersonCreatedEventHandler(IPersonCategoryRepository personCategoryRepository,
                                  IPersonPerCityCounterRepository personPerCityCounterRepository,
                                  ITransactionManager transactionManager,
                                  INotificationSender sender)
 {
     PersonCategoryRepository       = personCategoryRepository;
     PersonPerCityCounterRepository = personPerCityCounterRepository;
     TransactionManager             = transactionManager;
     Sender = sender;
 }
 public PersonCategoryQueryHandler(IPersonCategoryRepository personCategoryRepository)
 {
     PersonCategoryRepository = personCategoryRepository;
 }