Пример #1
0
        public List <DeThi> ListDeThi()
        {
            tienganhlop3s tn    = new tienganhlop3s();
            var           model = tn.DeThis.ToList();

            return(model);
        }
        public ActionResult ThongTinCaNhan(int id)
        {
            tienganhlop3s md  = new tienganhlop3s();
            HocSinhDAo    dt  = new HocSinhDAo();
            var           tan = dt.ListHocSinhID(id);

            ViewBag.ListKQ = md.KetQuas.Where(x => x.MaHS == id).ToList();
            return(View(tan));
        }
        public ActionResult XoaCauHoiAdd(int id)
        {
            tienganhlop3s tn    = new tienganhlop3s();
            var           model = tn.ch_db.Find(id);
            BaiThiDAO     thd   = new BaiThiDAO();

            thd.DeleteCauHoiAdd(id);
            return(RedirectToAction("Details"));
        }
 public UserDAo()
 {
     mymd = new tienganhlop3s();
 }
 public BaiThiDAO()
 {
     md = new tienganhlop3s();
 }
Пример #6
0
 public DeThiDAO()
 {
     tn = new tienganhlop3s();
 }
 public BaiHocDAO()
 {
     md = new tienganhlop3s();
 }
Пример #8
0
 public KetQuaDAO()
 {
     tn = new tienganhlop3s();
 }
 public HocSinhDAo()
 {
     md = new tienganhlop3s();
 }
 public CauHoiDAO()
 {
     tn = new tienganhlop3s();
 }