protected override void ProcessImpl(User user)
        {
            if (Preferences.AutoGenerateMaterialNames.Value)
            {
                Model.MaterialName = NameFormatter.FormatMaterialName(Model);
            }

            var service = new MaterialService(user);

            service.UpdateMaterial(Model);
        }
        protected override void ProcessImpl(User user)
        {
            var service = new MaterialService(user);

            if (String.IsNullOrEmpty(Model.MaterialName) || Preferences.AutoGenerateMaterialNames.Value)
            {
                Model.MaterialName = NameFormatter.FormatMaterialName(Model);
            }

            service.UpdateMaterialRDE(Model);
        }