public ActionResult TT_TS(string maloai, int page = 1, int pagesize = 3) { ViewBag.Maloai = maloai; var dao = new TT_TS(); var res = dao.ListAllPaging(maloai, page, pagesize); return(View(res)); }
public ActionResult TuyenSinh1(string mabaidang) { var dao = new TT_TS(); var res = dao.baidang_nd(mabaidang); ViewBag.List = dao.baidang_file(mabaidang); if (res == null) { return(View(new BaidangViewModel())); } return(View(res)); }