public ActionResult AttachmentsQuickSearch(AttachmentSearchParameters searchParameters)
 {
     var query = new SearchAttachments(searchParameters);
     var results = Query(query);
     FlattenTextExtract(results);
     return Json(new
     {
         Items = results,
         Skiped = searchParameters.Skip,
         TotalResults = query.Stats.TotalResults
     });
 }
 public ActionResult Index(AttachmentSearchParameters searchParameters)
 {
     return View(searchParameters ?? new AttachmentSearchParameters());
 }
Exemplo n.º 3
0
 public SearchAttachments(AttachmentSearchParameters parameters)
 {
     Parameters = parameters;
 }