public int Save() { if (Id == -1) { DalTour.Insert(this); } if (updated) { DalTour.Update(this); } return(this.Id); }
public List <DoanDL> GetDoanDL() { this.listDoanDL = DalTour.GetDoanDLCuaTour(this); return(listDoanDL); }
public Gia GetCurrentGiaTour() { this.curGia = DalTour.GetCurrentGiaTour(this); return(curGia); }
public List <Gia> GetListGiaTour() { this.listGiaOfTour = DalTour.GetGiaByTour(this); return(listGiaOfTour); }
public void DeleteAllChiTietTour() { DalTour.DeleteChiTietTourByTour(this); }