/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='materialAddCommand'> /// </param> /// <param name='lang'> /// </param> public static LMSApplicationCoreViewModelMaterialDetailsViewModel AddNewMaterial(this IMaterialApi operations, LMSApplicationCoreCommandsMaterialAddCommand materialAddCommand, string lang) { return(operations.AddNewMaterialAsync(materialAddCommand, lang).GetAwaiter().GetResult()); }