public List <Nguoi> GetKhachDoan() { List <Nguoi> list_tmp = new List <Nguoi>(); foreach (CTDoan cT in listCTDoan) { if (cT.ChucVuTrongDoan.ToString().Trim() == "Khách") { list_tmp.Add(DalNguoi.GetNguoiById(cT.MaNguoiThamGia)); } } return(list_tmp); }
public int Save() { if (Id == -1) { DalNguoi.Insert(this); } if (updated) { DalNguoi.Update(this); } return(this.Id); }
public List <Tour> GetTourDaDi() { return(DalNguoi.getTourDaDi(this)); }
public List <DoanDL> GetDoanDaDi() { return(DalNguoi.getDoanDaDi(this)); }
public void Delete() { DalNguoi.Delete(this); }