private void Button_Click(object sender, RoutedEventArgs e)
 {
     _temp = (sender as Button).DataContext as Repair;
     PhotoChooserTask photoChooserTask = new PhotoChooserTask();
     photoChooserTask.Completed += photoChooserTask2_Completed;
     photoChooserTask.ShowCamera = true;
     photoChooserTask.Show();
 }
 private void DeleteRepair(Repair e)
 {
     DataServiceRepair dsRepair = new DataServiceRepair();
     RepairList.Remove(e);
     dsRepair.DeleteRepair(e);
 }
 private void AddRepair()
 {
     Repair rep = new Repair();
     rep.Tour = this.Tour;
     this.Tour.Repair.Add(rep);
     DataServiceRepair dsRep = new DataServiceRepair();
     dsRep.addRepair(rep);
     RepairList.Add(rep);
 }