Пример #1
0
 /// <summary>
 /// Gets role based on its id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Users or Users.Read.
 ///
 /// Required permissions: Roles.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 public static RoleDto GetById(this IRoles operations, int id, string expand = default(string), string select = default(string))
 {
     return(operations.GetByIdAsync(id, expand, select).GetAwaiter().GetResult());
 }