Пример #1
0
 public ActionResult GetSiteTaskTrackers(string Filter, int TaskId, int SiteId)
 {
     try
     {
         PM_TrackerBL tg  = new PM_TrackerBL();
         var          obj = tg.ToList(Filter, TaskId.ToString(), SiteId.ToString());
         return(Json(obj, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(false, JsonRequestBehavior.AllowGet));
     }
 }
Пример #2
0
 public ActionResult GetTaskTrackersTitles(string TrackerGroupId, int?TaskId)
 {
     try
     {
         PM_TrackerBL tg  = new PM_TrackerBL();
         var          obj = tg.ToList("GetTrackerTitles", TrackerGroupId, TaskId.ToString());
         return(Json(obj, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(false, JsonRequestBehavior.AllowGet));
     }
 }