public DocumentSearch(Vault vault) { _vault = vault; _librarySearch = _vault.DefaultStore.Library.NewSearch(); }
public ActionResult Search(LibrarySearch model, string r) { ViewBag.Error = r; model.UserLibraries = GetUserLibraries(); return(View(model)); }