Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightSpeedUserAuthRepository"/> class.
 /// </summary>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="passwordHasher">The password hasher.</param>
 public LightSpeedUserAuthRepository(IUnitOfWork unitOfWork, IHashProvider passwordHasher)
 {
     this.passwordHasher = passwordHasher;
     this.unitOfWork     = (UserAuthModelUnitOfWork)unitOfWork;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LightSpeedUserAuthRepository"/> class.
 /// </summary>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="passwordHasher">The password hasher.</param>
 public LightSpeedUserAuthRepository(IUnitOfWork unitOfWork, IHashProvider passwordHasher)
 {
     this.passwordHasher = passwordHasher;
     this.unitOfWork = (UserAuthModelUnitOfWork)unitOfWork;
 }