Beispiel #1
0
 public NotificationHandler(IUnitOfWork uow,
                            IMediatorHandler bus,
                            INotificationHandler <DomainNotification> notifications,
                            INotificationRepository notificationRepository,
                            IBloodNotificationRepository bloodNotificationRepository,
                            IHairNotificationRepository hairNotificationRepository,
                            IBreastMilkNotificationRepository breastMilkNotificationRepository,
                            IDonatorUserBloodNotificationRepository donatorUserBloodNotificationRepository,
                            IDonatorUserHairNotificationRepository donatorUserHairNotificationRepository,
                            IDonatorUserBreastMilkNotificationRepository donatorUserBreastMilkNotificationRepository,
                            IDonatorUserRepository donatorUserRepository,
                            IInstitutionUserRepository institutionUserRepository,
                            IHairRepository hairRepository) : base(uow, bus, notifications)
 {
     _bus = bus;
     _notificationRepository                      = notificationRepository;
     _bloodNotificationRepository                 = bloodNotificationRepository;
     _hairNotificationRepository                  = hairNotificationRepository;
     _breastMilkNotificationRepository            = breastMilkNotificationRepository;
     _donatorUserBloodNotificationRepository      = donatorUserBloodNotificationRepository;
     _donatorUserHairNotificationRepository       = donatorUserHairNotificationRepository;
     _donatorUserBreastMilkNotificationRepository = donatorUserBreastMilkNotificationRepository;
     _donatorUserRepository     = donatorUserRepository;
     _institutionUserRepository = institutionUserRepository;
     _hairRepository            = hairRepository;
 }
Beispiel #2
0
 public HairNotificationController(IHairNotificationRepository hairNotificationRepository,
                                   IMediatorHandler mediator,
                                   INotificationHandler <DomainNotification> notifications)
     : base(notifications)
 {
     _hairNotificationRepository = hairNotificationRepository;
     bus = mediator;
 }