/// <summary> /// Set category tree /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='edit'> /// </param> public static IList <CBISWriteAPIModelsCategory> SetCategoryTree(this ICBISWriteAPI operations, CBISWriteAPIModelsQueryEditCategoryTree edit) { return(operations.SetCategoryTreeAsync(edit).GetAwaiter().GetResult()); }