public void SuaLoaidonvi(Loaidonvi ldv)
 {
     Loaidonvi l = ql.Loaidonvis.SingleOrDefault(t => t.Stt == ldv.Stt);
     l.Tenloai = ldv.Tenloai;
     l.Mota = ldv.Mota;
     ql.Entry(l).State = System.Data.Entity.EntityState.Modified;
     ql.SaveChanges();
 }
 public void ThemLoaidonvi(Loaidonvi ldv)
 {
     ql.Loaidonvis.Add(ldv);
     ql.SaveChanges();
 }