public SubscriberRegister(ISubscriberRepository subscriberRepository,
                           IPassportSearchRepository passportSearchRepository,
                           IPassportRepository passportRepository,
                           IMd5Encrypter encrypt)
 {
     _subscriberRepository     = subscriberRepository;
     _passportSearchRepository = passportSearchRepository;
     _passportRepository       = passportRepository;
     _encrypt = encrypt;
 }
Пример #2
0
 public PassportService(IPassportSearchRepository passportSearchRepository,
                        ISubscriberSearchRepository subscriberSearchRepository,
                        IPassportRepository passportRepository,
                        ISignInRepository signInRepository,
                        IMd5Encrypter encrypt)
 {
     _passportSearchRepository   = passportSearchRepository;
     _subscriberSearchRepository = subscriberSearchRepository;
     _passportRepository         = passportRepository;
     _signInRepository           = signInRepository;
     _encrypt = encrypt;
 }