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

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

            return(this.Id);
        }
Beispiel #2
0
 public List <CTDoan> GetCTDoanByDoan()
 {
     this.listCTDoan = DalDoanDL.GetCTDoanByDoan(this);
     return(listCTDoan);
 }