Exemple #1
0
        public string CreateUserAndAccout(User user, webpages_Membership membership)
        {
            //var retUser = _repository.CreateUser(user);

            //var retMem = _repository.CreateMembership(membership);
            //return retUser + "_" + retMem;
            throw new NotImplementedException();
        }
 public void CreateAccount_throws_MembershipCreateUserException_if_password_null()
 {
     webpages_Membership membership = new webpages_Membership();
     membership.UserId = 22;
     UserRoleLogic.CreateAccount(membership);
 }
 public string CreateMembership(webpages_Membership membership)
 {
     Db.webpages_Membership.Add(membership);
     int val = Db.SaveChanges();
     return val.ToString();
 }
Exemple #4
0
 public string CreateAccount(webpages_Membership membership)
 {
     //return _repository.CreateMembership(membership);
     throw new NotImplementedException();
 }