public ActionResult DeleteDepartmentMethod()
 {
     try
     {
         var departmentIdStr = Request["departmentId"];
         var personIdStr     = Session["id"];
         int departmentId    = -1;
         int personId        = -1;
         if (int.TryParse(departmentIdStr, out departmentId) && int.TryParse(personIdStr.ToString(), out personId))
         {
             string errMsg = "";
             if (EmployeeManage.DeleteDepartment(departmentId, personId, ref errMsg))
             {
                 return(Content("ok"));
             }
             else
             {
                 return(Content(errMsg));
             }
         }
         else
         {
             return(Content("请输入正确的Int数据类型!"));
         }
     }
     catch (Exception ex)
     {
         return(Content(ex.Message));
     }
 }