public ActionResult GetTask(int id) { var TaskDetails = itaskBusiness.GetTask(id); return(Json(new { success = true, data = TaskDetails })); }