/// <summary>Constructor</summary> /// <param name="membershipRepository">Membership Repository</param> /// <param name="membershipPasswordHasher">Membership Password Hasher</param> public MembershipService(IMembershipRepository membershipRepository, IMembershipPasswordHasher membershipPasswordHasher) { this.membershipRepository = membershipRepository.ThrowIfNull(nameof(membershipRepository)); this.membershipPasswordHasher = membershipPasswordHasher.ThrowIfNull(nameof(membershipPasswordHasher)); }