Esempio n. 1
0
        public void UpdateMaterialCommand_Executed(object sender)
        {
            _contoData.MaterialUpdate(new Material
            {
                Id          = ExistingId,
                Description = ExistingDescription,
                MeasureId   = ExistingSelectedMeasure,
                Price       = ExistingPrice
            });

            UpdateList();

            UpdatePanelVisibility = Visibility.Collapsed;
        }