diff --git a/WebClient/WpfWebClient/ExamForm.xaml.cs b/WebClient/WpfWebClient/ExamForm.xaml.cs index d62a367..0a833a0 100644 --- a/WebClient/WpfWebClient/ExamForm.xaml.cs +++ b/WebClient/WpfWebClient/ExamForm.xaml.cs @@ -60,7 +60,7 @@ namespace WpfWebClient exam.Date = dateboxExamDate.SelectedDate.Value; exam.Doctor = (Doctor)ComboBoxDoctors.SelectedValue; exam.Patient = (Person)ComboBoxPatients.SelectedValue; - exam.Description = txtDescription.ToString(); + exam.Description = txtDescription.Text; exam.Strain = (Strain)ComboBoxStrains.SelectedValue; client.WriteExam(exam); diff --git a/WebClient/WpfWebClient/FoodplaceForm.xaml b/WebClient/WpfWebClient/FoodplaceForm.xaml index 8019a3d..bb93366 100644 --- a/WebClient/WpfWebClient/FoodplaceForm.xaml +++ b/WebClient/WpfWebClient/FoodplaceForm.xaml @@ -18,14 +18,16 @@