Example #1
0
        public int Save()
        {
            if (Id == -1)
            {
                DalTour.Insert(this);
            }

            if (updated)
            {
                DalTour.Update(this);
            }

            return(this.Id);
        }
Example #2
0
 public List <DoanDL> GetDoanDL()
 {
     this.listDoanDL = DalTour.GetDoanDLCuaTour(this);
     return(listDoanDL);
 }
Example #3
0
 public Gia GetCurrentGiaTour()
 {
     this.curGia = DalTour.GetCurrentGiaTour(this);
     return(curGia);
 }
Example #4
0
 public List <Gia> GetListGiaTour()
 {
     this.listGiaOfTour = DalTour.GetGiaByTour(this);
     return(listGiaOfTour);
 }
Example #5
0
 public void DeleteAllChiTietTour()
 {
     DalTour.DeleteChiTietTourByTour(this);
 }