示例#1
0
        // GET: Data
        public ActionResult Index(string uid)
        {
            JobRepository job = new JobRepository();

            var data = job.GetData();

            //var rpt = data.Where(x => x.IsComplete && !x.IsNotified && x.ReportOwner == uid).FirstOrDefault();


            //if (rpt != null)
            //{

            //    NotificationHub.ShowCompleteNotify(rpt.ReportOwner, rpt.ReportName, rpt.DataID);
            //}

            return(Json(data, JsonRequestBehavior.AllowGet));
        }