public string Hash(UserLogInInfo userLogin) => _passwordHasher.HashPassword(userLogin, userLogin.Password);
public bool Verify(UserLogInInfo userLogin, string passwordHash) { return(_passwordHasher .VerifyHashedPassword(userLogin, passwordHash, userLogin.Password) != PasswordVerificationResult.Failed); }