public JsonResult ListTrackingSPK(string creator) { List <WorklistModel> ls = new List <WorklistModel>(); if (Session["UserLogOn"] != null) { ls = new WorklistBLL().GetSPKStatus(Utilities.GetUserNameLogon((UserAppsModel)Session["UserLogOn"])); } return(Json(new { Data = ls }, JsonRequestBehavior.AllowGet)); }
public JsonResult GetWorklist() { List <WorklistModel> ls = new List <WorklistModel>(); if (Session["UserLogOn"] != null) { ls = new WorklistBLL().GetPendingItems(Utilities.GetUserNameLogon((UserAppsModel)Session["UserLogOn"])); } return(Json(new { Data = ls }, JsonRequestBehavior.AllowGet)); }