public UserService(IHashEncoder hashEncoder, IPasswordValidator passwordValidator, IUserRepository userRepo) { _hashEncoder = hashEncoder; _passwordValidator = passwordValidator; _userRepo = userRepo; }
public LinkRepository(IHashDecoder hashDecoder, IHashEncoder hashEncoder, LinkDbContext context) { _context = context; _hashDecoder = hashDecoder; _hashEncoder = hashEncoder; }
public LinkRepository(IHashDecoder hashDecoder, IHashEncoder hashEncoder) { _links = new List <Link>(); _hashDecoder = hashDecoder; _hashEncoder = hashEncoder; }