コード例 #1
0
ファイル: UserRole.cs プロジェクト: jagmeet-chaudhary/ECA
        public string CreateUserAndAccout(User user, webpages_Membership membership)
        {
            //var retUser = _repository.CreateUser(user);

            //var retMem = _repository.CreateMembership(membership);
            //return retUser + "_" + retMem;
            throw new NotImplementedException();
        }
コード例 #2
0
 public void CreateAccount_throws_MembershipCreateUserException_if_password_null()
 {
     webpages_Membership membership = new webpages_Membership();
     membership.UserId = 22;
     UserRoleLogic.CreateAccount(membership);
 }
コード例 #3
0
 public string CreateMembership(webpages_Membership membership)
 {
     Db.webpages_Membership.Add(membership);
     int val = Db.SaveChanges();
     return val.ToString();
 }
コード例 #4
0
ファイル: UserRole.cs プロジェクト: jagmeet-chaudhary/ECA
 public string CreateAccount(webpages_Membership membership)
 {
     //return _repository.CreateMembership(membership);
     throw new NotImplementedException();
 }