// // GET: /Home/ public ActionResult Index() { ADBLL ad = new ADBLL(); BaseUserInfoBLL user =new BaseUserInfoBLL(); ViewBag.adList = ad.getTopAD(5); ViewBag.userList = user.getUserList(); return View(); }
public ActionResult FilterUser(FilterUser u) { FilterBLL filter = new FilterBLL(); ADBLL ad = new ADBLL(); ViewBag.adList = ad.getTopAD(5); ViewBag.userList = filter.getFiltedList(u); return View("Index"); }