Exemple #1
0
        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));
        }
Exemple #2
0
        public async Task <ActionResult> Index()
        {
            var _ReportViewer = new ModelSector.ReportViewer
            {
                RptType = (await BaseService.GetRptType()).RefLibLst
                          //await BaseClass.WebGetRptType()
            };

            return(View(_ReportViewer));
        }