public Task UpdateCurrentUserPasswordAsync(UpdateCurrentUserPasswordCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }
Esempio n. 2
0
 /// <summary>
 /// Updates the password of the currently logged in user, using the
 /// OldPassword field to authenticate the request.
 /// </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 UpdateCurrentUserUserPasswordAsync(UpdateCurrentUserPasswordCommand command, IExecutionContext executionContext = null)
 {
     return(_commandExecutor.ExecuteAsync(command, executionContext));
 }