/// <summary> /// Delete the role. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='roleId'> /// The role identifier. /// </param> public static RoleDto DeleteRole(this IRole operations, System.Guid roleId) { return(operations.DeleteRoleAsync(roleId).GetAwaiter().GetResult()); }