public UserManager(IUserRepository <IdentityUser> userRepository, ICustomPasswordHasher hasher, IPersonalInformationRepository <PersonalInfo, Guid> personalInformationRepository) { this._userRepository = userRepository; this._hasher = hasher; this._personalInfoRepository = personalInformationRepository; }
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; }