public ActionResult LostFounds() { lostFound = new LostFoundsModel(); lostFound.CommunityID = myCommunityID; lostFoundsDAL = new LostFoundsDAL(); ViewBag.LostFoundsList = lostFoundsDAL.LostFoundList(lostFound); return View("LostFounds"); }
public PartialViewResult LostFoundsListTable() { lostFound = new LostFoundsModel(); lostFound.CommunityID = myCommunityID; lostFoundsDAL = new LostFoundsDAL(); ViewBag.LostFoundsList = lostFoundsDAL.LostFoundList(lostFound); return PartialView("Partials/LostFounds/LostFoundsListTable"); }
public ActionResult LostFoundsList(String communityid) { lostFound = new LostFoundsModel(); lostFound.CommunityID = outCommunityID; lostFoundsDAL = new LostFoundsDAL(); ViewBag.LostFoundsList = lostFoundsDAL.LostFoundList(lostFound); return View("Partials/LostFounds/LostFoundsList"); }