public int Xoa(string msBacDaoTao) { BacDaoTaoModel bdt = new BacDaoTaoModel(); bdt.MSBACDAOTAO = int.Parse(msBacDaoTao); return(bdt.Xoa()); }
public int Them(string tenBacDaoTao) { BacDaoTaoModel bdt = new BacDaoTaoModel(); bdt.TENBACDAOTAO = tenBacDaoTao; return(bdt.Them()); }
public int CapNhat(string msBacDaoTao, string tenBacDaoTao) { BacDaoTaoModel bdt = new BacDaoTaoModel(); bdt.MSBACDAOTAO = int.Parse(msBacDaoTao); bdt.TENBACDAOTAO = tenBacDaoTao; return(bdt.CapNhat()); }
// GET: Admin/LopHocPhan public ActionResult Index() { ViewData["DSBacDaoTao"] = new BacDaoTaoModel().DanhSach(); ViewData["DSKhoaHoc"] = new KhoaHocModel().DanhSach(); HocKyModel m = new HocKyModel(); return(View()); }
// GET: Admin/BacDaoTao public ActionResult Index() { ViewData["DSBacDaoTao"] = new BacDaoTaoModel().DanhSach(); return(View()); }