예제 #1
0
        public int Xoa(string msBacDaoTao)
        {
            BacDaoTaoModel bdt = new BacDaoTaoModel();

            bdt.MSBACDAOTAO = int.Parse(msBacDaoTao);
            return(bdt.Xoa());
        }
예제 #2
0
        public int Them(string tenBacDaoTao)
        {
            BacDaoTaoModel bdt = new BacDaoTaoModel();

            bdt.TENBACDAOTAO = tenBacDaoTao;
            return(bdt.Them());
        }
예제 #3
0
        public int CapNhat(string msBacDaoTao, string tenBacDaoTao)
        {
            BacDaoTaoModel bdt = new BacDaoTaoModel();

            bdt.MSBACDAOTAO  = int.Parse(msBacDaoTao);
            bdt.TENBACDAOTAO = tenBacDaoTao;
            return(bdt.CapNhat());
        }
예제 #4
0
        // GET: Admin/LopHocPhan
        public ActionResult Index()
        {
            ViewData["DSBacDaoTao"] = new BacDaoTaoModel().DanhSach();
            ViewData["DSKhoaHoc"]   = new KhoaHocModel().DanhSach();
            HocKyModel m = new HocKyModel();

            return(View());
        }
예제 #5
0
 // GET: Admin/BacDaoTao
 public ActionResult Index()
 {
     ViewData["DSBacDaoTao"] = new BacDaoTaoModel().DanhSach();
     return(View());
 }