Example #1
0
 public long Them(KhachHang entity)
 {
     db.KhachHangs.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Example #2
0
 public long Them(DiaDiem entity)
 {
     db.DiaDiems.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Example #3
0
 public long Them(TaiKhoan entity)
 {
     db.TaiKhoans.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Example #4
0
 public long Them(DichVu entity)
 {
     db.DichVus.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Example #5
0
 public long Them(Tour entity)
 {
     db.Tours.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Example #6
0
 public long Them(TinTuc entity)
 {
     db.TinTucs.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }