Exemple #1
0
 /// <summary>
 /// ×¢²á
 /// </summary>
 /// <param name="info"></param>
 /// <returns></returns>
 public bool register(MemberInfo info)
 {
     MemberDal bal = new MemberDal();
     if (bal.isreg(info.username))
     {
         bal.register(info);
         login(info.username,info.password);
         return true;
     }
     else
         return false;
 }
Exemple #2
0
 public bool register(string username,string nickname, string password)
 {
     MemberDal bal = new MemberDal();
     if (bal.isreg(username))
     {
         bal.register(username, nickname, password);
         login(username, password);
         return true;
     }
     else
     {
         login(username, password);
         return false;
     }
 }