public async Task <JsonResult> FillData() { var _ReportViewer = new ModelSector.ReportViewer { RptType = (await BaseService.GetRptType()).RefLibLst //await BaseClass.WebGetRptType() }; return(Json(new { Model = new ReportViewer(), Selects = _ReportViewer }, JsonRequestBehavior.AllowGet)); }
public async Task <ActionResult> Index() { var _ReportViewer = new ModelSector.ReportViewer { RptType = (await BaseService.GetRptType()).RefLibLst //await BaseClass.WebGetRptType() }; return(View(_ReportViewer)); }