// GET: Profile List public ActionResult _ProfileListPartial(int page) { BLLProfile _profile = new BLLProfile(); var _profileList = _profile.GetProfileList(page, 10); return PartialView(_profileList); }
// GET: Profile public ActionResult Index() { BLLProfile _profile = new BLLProfile(); var _profileList = _profile.GetProfileList(1, 10); return View(_profileList); }