public ActionResult VisitList(TrialVisitReportDataFilter dataFilter) { ViewBag.Title = "Форма списка визитов"; if (TempData["DataFilter"] != null) dataFilter = (TrialVisitReportDataFilter)TempData["DataFilter"]; return View(dataFilter ?? new TrialVisitReportDataFilter()); }
public ActionResult GetVisits([DataSourceRequest]DataSourceRequest request, TrialVisitReportDataFilter dataFilter) { if (dataFilter == null) dataFilter = new TrialVisitReportDataFilter(); var response = DataProvider.GetList(dataFilter); return Json(response.ToDataSourceResult(request)); }
public ActionResult VisitList(TrialVisitReportDataFilter dataFilter) { ViewBag.Title = "Форма списка визитов"; if (TempData["DataFilter"] != null) { dataFilter = (TrialVisitReportDataFilter)TempData["DataFilter"]; } return(View(dataFilter ?? new TrialVisitReportDataFilter())); }
public ActionResult GetVisits([DataSourceRequest] DataSourceRequest request, TrialVisitReportDataFilter dataFilter) { if (dataFilter == null) { dataFilter = new TrialVisitReportDataFilter(); } var response = DataProvider.GetList(dataFilter); return(Json(response.ToDataSourceResult(request))); }