public ActionResult GiveUp(String page, String field, String condition, String search, String by, FormCollection collection)
 {
     search = HttpUtility.UrlDecode(search);
     try
     {
         DAL.m_worker dal_m_worker = new DAL.m_worker();
         Models.z_user session_model_z_user = (Models.z_user)ViewBag.model_z_user;
         String[] IDList = collection["id[]"].ToString().Split(',');
         foreach (String ID in IDList)
         {
             dal_m_worker.saveHistory(new Guid(ID), session_model_z_user.ID);
         }
         /*
         IDlist = IDlist.Replace(",", "','");
         IDlist = "'" + IDlist + "'";
         dal_m_worker.UpdataStatus(IDlist, Common.Variables.WORKER_STATUS_IN_POOL, null);
          * */
         return RedirectToAction("Index", new { message = HttpUtility.UrlEncode("放弃成功"), page = page, field = field, condition = condition, search = search, by = by });
     }
     catch
     {
         return RedirectToAction("Index", new { message = HttpUtility.UrlEncode("放弃失败"), page = page, field = field, condition = condition, search = search, by = by });
     }
 }
 //
 // GET: /Worker/GiveUp/5
 public ActionResult GiveUp(string id, String page, String field, String condition, String search, String by)
 {
     search = HttpUtility.UrlDecode(search);
     try
     {
         DAL.m_worker dal_m_worker = new DAL.m_worker();
         //dal_m_worker.UpdataStatus(new Guid(id), Common.Variables.WORKER_STATUS_IN_POOL, null);
         Models.z_user session_model_z_user = (Models.z_user)ViewBag.model_z_user;
         dal_m_worker.saveHistory(new Guid(id), session_model_z_user.ID);
         return RedirectToAction("Index", new { message = HttpUtility.UrlEncode("放弃成功"), page = page, field = field, condition = condition, search = search, by = by });
     }
     catch
     {
         return RedirectToAction("Index", new { message = HttpUtility.UrlEncode("放弃失败"), page = page, field = field, condition = condition, search = search, by = by });
     }
 }