private void DeletePictureTour(PictureTour e)
 {
     DataServicePictureTour dsPicTour = new DataServicePictureTour();
     PictureTourList.Remove(e);
     dsPicTour.DeletePictureTour(e);
 }
 public void DeletePictureTour(PictureTour picTour)
 {
     picTour.Tour.Pictures.Remove(picTour);
     db.picturesTour.DeleteOnSubmit(picTour);
 }
 private void AddPictureTour(byte[] e)
 {
     DataServicePictureTour dsPicTour = new DataServicePictureTour();
     PictureTour picTour = new PictureTour();
     picTour.Tour = Tour;
     Tour.Pictures.Add(picTour);
     picTour.Image = e;
     dsPicTour.addPictureTour(picTour);
     PictureTourList.Add(picTour);
 }
 public void addPictureTour(PictureTour newPictureTour)
 {
     db.picturesTour.InsertOnSubmit(newPictureTour);
 }