public ActionResult SaveOccupationName(string OccpationNameId, string OccpationName, string classId, string standardId)
        {
            IOccupationBLL bLL = new OccupationBLL();

            ISalaryBLL salaryBLL = new SalaryBLL();

            OccupationName occupationName = new OccupationName {
                Id = Convert.ToInt32(OccpationNameId), Name = OccpationName, ClassId = Convert.ToInt32(classId)
            };

            if (bLL.SaveOccupationName(occupationName))
            {
                occupationName = bLL.GetOccupationNameByNameAndClass(OccpationName, Convert.ToInt32(classId));

                StandardMapOccupationName mapOcc = new StandardMapOccupationName {
                    OccupationNameId = occupationName.Id, StandardId = Convert.ToInt32(standardId)
                };

                if (salaryBLL.SaveMapOcc(mapOcc))
                {
                    TempData["info"] = "保存成功";
                    return(Redirect("/Settings/OccupationSettings"));
                }
                else
                {
                    TempData["error"] = "保存失败";
                    return(Redirect(Request.UrlReferrer.AbsoluteUri));
                }
            }
            else
            {
                TempData["error"] = "保存失败";
                return(Redirect(Request.UrlReferrer.AbsoluteUri));
            }
        }