private void DeletePictureTour(PictureTour e) { DataServicePictureTour dsPicTour = new DataServicePictureTour(); PictureTourList.Remove(e); dsPicTour.DeletePictureTour(e); }
public DataServiceCommon() { dsRepair = new DataServiceRepair(); dsNearBy = new DataServiceNearBy(); dsPictureTour = new DataServicePictureTour(); }
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); }