}//car_SelectionChanged

        private void malfunction_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            curMalfunnction = malfunction.SelectedItem as Malfunctions;
        }// malfunction_SelectionChanged
 // Выводим информации в dataGrid
 private void Show(Malfunctions malfunction)
 {
     dg.ItemsSource = dc.OrderServices
                      .Where(os => os.CarMalfunctions.Malfunctions == malfunction)
                      .Select(os => new { Фамилия = os.Orders.Persons.Surname, Имя = os.Orders.Persons.Name, Отчество = os.Orders.Persons.Patronymic, Дата = os.Orders.BeginDate.ToShortDateString() });
 }//Show