Esempio n. 1
0
 /// <summary>
 /// Updates an existing role. Also updates the role permission set.
 /// </summary>
 /// <param name="command">Command to run.</param>
 /// <param name="executionContext">Optional execution context to use when executing the query. Useful if you need to temporarily elevate your permission level.</param>
 public Task UpdateRoleAsync(UpdateRoleCommand command, IExecutionContext executionContext = null)
 {
     return(_commandExecutor.ExecuteAsync(command, executionContext));
 }
 public Task UpdateRoleAsync(UpdateRoleCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }