[HttpPost] public ActionResult SpecificWorkflowReport(Report2ListViewModel wf) { var getSpRecord = db.Mworkflow().ToList(); var getRecord = (from u in getSpRecord select new Report2ListViewModel { WorkFlowType = u.WorkFlowType, WorkflowInstanceId = u.WorkflowInst, WorkFlowDescription = u.WorkFlowDesc, }).ToList(); ViewBag.WorkflowType = wf.WorkFlowType; ViewBag.WorkflowInstanceId = wf.WorkflowInst; ViewBag.WorkFlowDescription = wf.WorkFlowDesc var data = Newtonsoft.Json.JsonConvert.SerializeObject(getRecord); return Json(data); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)