Beispiel #1
0
 private void RegisterAccount()
 {
     if (CurrentCompany.CompanyType == CompanyType.Platform)
     {
         if (person.Checked)
         {
             AccountCombineService.Register(GetAccountInfo(), GetIndividual(), DomainName, CurrenContract.ServicePhone, PlatformName);
         }
         else
         {
             AccountCombineService.Register(GetAccountInfo(), GetEnterprise(), DomainName, CurrenContract.ServicePhone, PlatformName);
         }
     }
     else
     {
         //if (VerificationIPAddress.VerificationIP() && Verification.VerificationCode(txtPhoneCode.Text, "phoneValidateCode"))
         //{ }
         if (person.Checked)
         {
             // AccountCombineService.Spread(CurrentCompany.CompanyId, GetAccountInfo(), GetIndividual());
         }
         else
         {
             // AccountCombineService.Spread(CurrentCompany.CompanyId, GetAccountInfo(), GetEnterprise());
         }
     }
 }
Beispiel #2
0
 private void RegisterAccount()
 {
     if (person.Checked)
     {
         AccountCombineService.Register(GetAccountInfo(), GetIndividual());
     }
     else
     {
         AccountCombineService.Register(GetAccountInfo(), GetEnterprise());
     }
 }
Beispiel #3
0
 private void RegisterAccount()
 {
     if (person.Checked)
     {
         AccountCombineService.Register(GetAccountInfo(), GetIndividual(), BasePage.DomainName, BasePage.CurrenContract.ServicePhone, BasePage.PlatformName);
     }
     else
     {
         AccountCombineService.Register(GetAccountInfo(), GetEnterprise(), BasePage.DomainName, BasePage.CurrenContract.ServicePhone, BasePage.PlatformName);
     }
 }