Beispiel #1
0
        private void updateClientBTN_Click(object sender, RoutedEventArgs e)
        {
            var cl = updatePatientInfoGRD.DataContext as Client;

            cl.LiabilityDate = !string.IsNullOrEmpty(cl.Liability) ? (DateTime?)DateTime.Now : null;
            cac.SaveChanges();
        }