/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='materialContextTypeId'> /// </param> /// <param name='lang'> /// </param> public static LMSApplicationCoreViewModelMaterialTypeViewModel GetMaterialTypes(this IMaterialApi operations, int materialContextTypeId, string lang) { return(operations.GetMaterialTypesAsync(materialContextTypeId, lang).GetAwaiter().GetResult()); }