public ActionResult ThongTinCTSV(string mandct, string tenctsv, string mact) { ViewBag.TenCTSV = tenctsv; ViewBag.MaCTSV = mact; var dao = new CongTacSVDAO(); var res = dao.ThongTinCTSV(mandct); ViewBag.File = dao.NoidungCTSV_file(mandct); return(View(res)); }
public ActionResult CTSV(string mact, string tenctsv, int page = 1, int pagesize = 1) { ViewBag.TenCTSV = tenctsv; ViewBag.MaCTSV = mact; var dao = new CongTacSVDAO(); var res = dao.ListALL(mact, page, pagesize); if (res == null) { return(View(new NDCongtacSV())); } return(View(res)); }