Example #1
0
        public Task <AccountResult?> CreateUserWithPass(RegisterNewUserCommand command, string password)
        {
            var user = _userFactory.Create(command);

            return(CreateUser(user, command, password, null, null));
        }
Example #2
0
 /// <summary>
 /// Createt a new IIdentityGenerator
 /// <paramref>
 ///     <name>CTS.NET.Infrastructure.Crosscutting.Identity.IIdentityGenerator</name>
 /// </paramref>
 /// </summary>
 /// <returns>Created IIdentityGenerator</returns>
 public static IIdentityGenerator CreateIdentity()
 {
     return((_identityFactory != null) ? _identityFactory.Create() : null);
 }