public Task <AccountResult?> CreateUserWithPass(RegisterNewUserCommand command, string password) { var user = _userFactory.Create(command); return(CreateUser(user, command, password, null, null)); }
/// <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); }