public Task UpdateUserAsync(UpdateUserCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
/// <summary> /// A generic user update command for use with Cofoundry users and /// other non-Cofoundry users. /// </summary> /// <param name="executionContext">Optional execution context to use when executing the command. Useful if you need to temporarily elevate your permission level.</param> public Task UpdateUserAsync(UpdateUserCommand command, IExecutionContext executionContext = null) { return(_commandExecutor.ExecuteAsync(command, executionContext)); }