public JsonResult GetData() { ISchedulerTask taskbll = new SchedulerTask(); var data = taskbll.GetTasks(); return(Json(new { rows = data, total = data.Count })); }
public JsonResult GetData() { ISchedulerTask taskbll = new SchedulerTask(); var data = taskbll.GetTasks(); return(Json(new { rows = data, total = data.Count })); }