Пример #1
0
        public void SaveRefinance_Click(object sender)
        {
            IEnumerable <DbEntityValidationResult> validationresult = PaymentDB.GetValidationErrors();

            if (validationresult.Count() == 0)
            {
                PaymentDB.SaveChanges();
                crud_modal.Children.Clear();
                crud_modal.Visibility = System.Windows.Visibility.Collapsed;
            }
            load_Schedual();
        }