public DocumentSearch(Vault vault)
 {
     _vault         = vault;
     _librarySearch = _vault.DefaultStore.Library.NewSearch();
 }
Пример #2
0
 public ActionResult Search(LibrarySearch model, string r)
 {
     ViewBag.Error       = r;
     model.UserLibraries = GetUserLibraries();
     return(View(model));
 }