public Task UpdateCurrentUserAccountAsync(UpdateCurrentUserAccountCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
/// <summary> /// Updates the user account of the currently logged in user. /// </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 UpdateCurrentUserAccountAsync(UpdateCurrentUserAccountCommand command, IExecutionContext executionContext = null) { return(_commandExecutor.ExecuteAsync(command, executionContext)); }