public JsonResult EditTask(int Task_ID) { TaskModel objTM = new TaskModel(); objTM = mdb_layer.GetTaskDetails(Task_ID); return(Json(objTM, JsonRequestBehavior.AllowGet)); }