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()); } } }
private void RegisterAccount() { if (person.Checked) { AccountCombineService.Register(GetAccountInfo(), GetIndividual()); } else { AccountCombineService.Register(GetAccountInfo(), GetEnterprise()); } }
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); } }