public async Task OnExecute() { _commandUtil.PrintTitle("Creación de Usuario"); var name = _commandUtil.PromptString("Nombre:"); var email = _commandUtil.PromptString("Email:"); var password = _commandUtil.PromptPassword("Contraseña:"); var command = new CreateUserCommand() { Name = name, Email = email, Password = password, TenantCode = "", RoleCode = GeneralConstants.RoleUser, }; try { var user = await _mediator.Send(command); _commandUtil.Print($"Usuario Creado: {user.Id}", ConsoleColor.Green); } catch (Exception e) { _commandUtil.PrintException(e); } }