/// <summary> /// Initializes a new instance of the <see cref="UserRegistration" /> class. /// </summary> /// <param name="userName">Name of the user.</param> /// <param name="passWord">The pass word.</param> /// <param name="email">The email.</param> public UserRegistration(string userName, string passWord, string email) { _username = userName; _email = email; _password = passWord; _context = YafContext.Current; }
/// <summary> /// Initializes a new instance of the <see cref="UserAuthentication" /> class. /// </summary> /// <param name="username">The username.</param> /// <param name="password">The password.</param> public UserAuthentication(string username, string password) { this._userName = username; this._passWord = password; this._context = YafContext.Current; }