Exemple #1
0
        public void RegisterNaturalPerson(NaturalPersonDataContract naturalPersonDataContract, string password)
        {
            UserManagementDomainService.RegisterNaturalPerson(naturalPersonDataContract, password, new string[] { });
            var verficationCode = UserManagementDomainService.SetNewActivationCode(naturalPersonDataContract.PrimaryEmail);

            ServiceEmailSender.SendVerificationEmailAsync(naturalPersonDataContract.PrimaryEmail, verficationCode.ToString());
        }
Exemple #2
0
 public void RegisterNaturalPerson(NaturalPersonDataContract naturalPersonDataContract, string password)
 {
     UserManagementDomainService.RegisterNaturalPerson(naturalPersonDataContract, password, new string[] { "Developer" });
     UserManagementDomainService.SetNewActivationCode(naturalPersonDataContract.PrimaryEmail);
 }