public ActionResult moveUp(int id, string userName) { _serv.moveUp(id, userName); return(Json(new { jobSuccess = true, status = "OK", workerID = id })); }
public ActionResult moveUp(int id, string userName) { _serv.moveUp(id, userName); return(Json(new { jobSuccess = true, status = "OK", workerID = id }, JsonRequestBehavior.AllowGet)); }