public JsonResult DeleteTask(int id) { _taskListManager.Remove(id); var data = _taskListManager.GetAll(); return(Json(data, JsonRequestBehavior.AllowGet)); }
public JsonResult DeleteTask(int id) { _taskListManager.Remove(id); var data = _taskListManager.GetAll(); return(Json(data, JsonRequestBehavior.AllowGet)); }