Пример #1
0
 public UserManager(IUserRepository <IdentityUser> userRepository, ICustomPasswordHasher hasher, IPersonalInformationRepository <PersonalInfo, Guid> personalInformationRepository)
 {
     this._userRepository         = userRepository;
     this._hasher                 = hasher;
     this._personalInfoRepository = personalInformationRepository;
 }
Пример #2
0
 public PersonalInformationBusinessLogic(IPersonalInformationRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Пример #3
0
 public PersonalInformationBL(IPersonalInformationRepository repository, ICommonRepository commonRepository)
 {
     _repository       = repository;
     _commonRepository = commonRepository;
 }
Пример #4
0
 public RoleService(IUserRepository <IdentityUser> userRepository, IPersonalInformationRepository <PersonalInfo, Guid> personalInformationRepository)
 {
     this._userRepository = userRepository;
     this._infoRepository = personalInformationRepository;
 }
Пример #5
0
        private readonly IPersonalInformationRepository <PersonalInfo, Guid> _personalInformationRepository;//TODO: remove repos and use some method in UserManager

        public LoginService(ICustomPasswordHasher hasher, IUserManager <IdentityUser, Guid> userManager, IPersonalInformationRepository <PersonalInfo, Guid> personalInformationRepository)
        {
            this._hasher      = hasher;
            this._userManager = userManager;
            this._personalInformationRepository = personalInformationRepository;
        }
 public PersonalInformationService(IPersonalInformationRepository personalInformationRepository)
     : base(personalInformationRepository)
 {
     _personalInformationRepository = personalInformationRepository;
 }
Пример #7
0
 public PersonalInfoService(
     IPersonalInformationRepository <PersonalInfo, Guid> personalInformationRepository
     )
 {
     this._repository = personalInformationRepository;
 }