Exemple #1
0
        public PartialViewResult ExportJobs()
        {
            //var refr = HttpContext.Application["FluentRegistry"] as FluentRegistry;
            //refr.LoadExportJobs();
            if (AppUserState == null || AppUserState.Connected == false)
            {
                return(PartialView("ExportJobs", new ExportJobViewModel()));
            }
            var hvm = new ExportJobViewModel {
                EJobs = SchedulerManager.GetJobsByType(JobTypeEnum.InFuseExportJob)
            };

            return(PartialView("ExportJobs", hvm));
        }