public MembershipCreateStatus CreateUser(CreateUserMembershipParams userParams)
        {
            if (String.IsNullOrEmpty(userParams.Password))
            {
                throw new ArgumentException("Value cannot be null or empty.", "password");
            }
            if (String.IsNullOrEmpty(userParams.Email))
            {
                throw new ArgumentException("Value cannot be null or empty.", "email");
            }

            MembershipCreateStatus status;

            _provider.CreateUser(userParams, out status);

            return(status);
        }
            public MembershipCreateStatus CreateUser(CreateUserMembershipParams userParams)
            {
                if (userParams.Email == "duplicateUser")
                {
                    return MembershipCreateStatus.DuplicateUserName;
                }

                // verify that values are what we expected
                Assert.AreEqual("goodPassword", userParams.Password);
                Assert.AreEqual("goodEmail", userParams.Email);

                return MembershipCreateStatus.Success;
            }
 public MembershipCreateStatus CreateUser(CreateUserMembershipParams userParams)
 {
     throw new NotImplementedException();
 }