public ActionResult ListVisitHistories(TableRequestModel request, VisitHistoriesViewModel model)
 {
     IQueryable<VisitHistory> vh = db.VisitHistories.Where(p => p.CaveId == model.CaveID);
     return TableResult.From(vh).Build<VisitHistoryTable>(request);
 }
 public ActionResult Index(int id)
 {
     var vm = new VisitHistoriesViewModel();
     vm.CaveID = id;
     return View(vm);
 }