コード例 #1
0
        public ActionResult _ajaxPublicationSearch(PublicationSearchParameters searchParameters, int memberId)
        {
            var matches = _publicationRepository.GetPublications(searchParameters);

            ViewBag.MemberId = memberId;
            return PartialView("DisplayTemplates/Publications", matches);
        }
コード例 #2
0
 public ActionResult _ajaxPublicationSearch(PublicationSearchParameters parameters)
 {
     return PartialView("DisplayTemplates/Publications", _publicationRepository.GetPublications(parameters));
 }