public ActionResult _ajaxPublicationSearch(PublicationSearchParameters searchParameters, int memberId) { var matches = _publicationRepository.GetPublications(searchParameters); ViewBag.MemberId = memberId; return PartialView("DisplayTemplates/Publications", matches); }
public ActionResult _ajaxPublicationSearch(PublicationSearchParameters parameters) { return PartialView("DisplayTemplates/Publications", _publicationRepository.GetPublications(parameters)); }