public void Save() { if (_viewmodel.HeaderValidations() && GridBodyValidation()) { _viewmodel.Insert(); BodyInsert(); MessageBox.Show("Data is Saved"); Clear(); } }