Ejemplo n.º 1
0
 public ViewResult Index(int id, string keywords)
 {
     string Keywords = "";
     if (keywords != null) { Keywords = keywords; }
     ReferencesViewModel model = new ReferencesViewModel();
     model.References = Service.ReferenceList(id, Keywords);
     return View("Index", model);
 }
Ejemplo n.º 2
0
 public ViewResult ReferencesTable(int id, string keywords)
 {
     string Keywords = "";
     if (keywords != null) { Keywords = keywords; }
     ReferencesViewModel model = new ReferencesViewModel();
     model.References = Service.ReferenceList(id, Keywords);
     ViewBag.Context = "Review";
     return View("_ReferencesTable", model);
 }
Ejemplo n.º 3
0
 public ViewResult Search(int id)
 {
     ViewBag.Context = "Modal";
     string Keywords = "";
     ReferencesViewModel model = new ReferencesViewModel();
     model.References = Service.ReferenceList(id, Keywords);
     return View("_References", model);
 }
Ejemplo n.º 4
0
 public ActionResult Search(int id, string filter, string context)
 {
     ViewBag.Context = context;
     string Keywords = "";
     if (filter != null) { Keywords = filter; }
     ReferencesViewModel model = new ReferencesViewModel();
     model.References = Service.ReferenceList(id, Keywords);
     //return View("Index", model);
     return View("_References", model);
 }