Exemple #1
0
 public int Insert(TbDotthi entity)
 {
     db.TbDotthis.Add(entity);
     db.SaveChanges();
     return(entity.MaDT);
 }
Exemple #2
0
 public int Insert(TbCapdo entity)
 {
     db.TbCapdoes.Add(entity);
     db.SaveChanges();
     return(entity.MaCD);
 }
Exemple #3
0
 public int Insert(TbStudent entity)
 {
     db.TbStudents.Add(entity);
     db.SaveChanges();
     return(entity.ID);
 }
Exemple #4
0
 public int Insert(TbMT entity)
 {
     db.TbMTs.Add(entity);
     db.SaveChanges();
     return(entity.MaMT);
 }
Exemple #5
0
 public int Insert(TbBaiThi entity)
 {
     db.TbBaiThis.Add(entity);
     db.SaveChanges();
     return(entity.MaBaiThi);
 }