public AccountHandler(IUnitOfWork uow,
                       IMediatorHandler bus,
                       INotificationHandler <DomainNotification> notifications,
                       ITokenService tokenService,
                       IDonatorUserRepository donatorUserRepository,
                       IInstitutionUserRepository institutionUserRepository,
                       IAddressRepository addressRepository,
                       IUserNotificationTypeRepository userNotificationTypeRepository,
                       IUserSocialNotificationTypeRepository userSocialNotificationTypeRepository,
                       ISocialNotificationTypeRepository socialNotificationTypeRepository,
                       INotificationTypeRepository notificationTypeRepository,
                       IPhoneRepository phoneRepository,
                       IUserRepository userRepository,
                       UserManager <User> userManager,
                       SignInManager <User> signInManager)
     : base(uow, bus, notifications)
 {
     _bus                                  = bus;
     _tokenService                         = tokenService;
     _donatorUserRepository                = donatorUserRepository;
     _institutionUserRepository            = institutionUserRepository;
     _addressRepository                    = addressRepository;
     _userNotificationTypeRepository       = userNotificationTypeRepository;
     _userSocialNotificationTypeRepository = userSocialNotificationTypeRepository;
     _socialNotificationTypeRepository     = socialNotificationTypeRepository;
     _phoneRepository                      = phoneRepository;
     _userRepository                       = userRepository;
     _userManager                          = userManager;
     _signInManager                        = signInManager;
     _notificationTypeRepository           = notificationTypeRepository;
 }
Beispiel #2
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 #3
0
 public InstitutionUserController(IInstitutionUserRepository institutionUserRepository,
                                  IMediatorHandler mediator,
                                  INotificationHandler <DomainNotification> notifications)
     : base(notifications)
 {
     _institutionUserRepository = institutionUserRepository;
     bus = mediator;
 }