public ActionResult Item(string keyGuid, string parentKey, BusinessDepartment entity, bool isOnlyPlaceHolder = true)
        {
            bool isSuccessful = false;
            string displayMessage = string.Empty;

            BusinessDepartment department = null;
            if (GuidHelper.IsInvalidOrEmpty(keyGuid))
            {
                department = new BusinessDepartment();
                department.DepartmentGuid = GuidHelper.NewGuid();
                department.DepartmentParentGuid = Converter.TryToGuid(parentKey);
                SetTargetEntityValue(entity, ref department);
                isSuccessful = BusinessDepartmentBLL.Instance.Create(department);
            }
            else
            {
                department = BusinessDepartmentBLL.Instance.Get(keyGuid);
                SetTargetEntityValue(entity,ref department);
                isSuccessful = BusinessDepartmentBLL.Instance.Update(department);
            }

            if (isSuccessful == true)
            {
                displayMessage = "数据保存成功";
            }
            else
            {
                displayMessage = "数据保存失败";
            }

            return Json(new LogicStatusInfo(isSuccessful, displayMessage));
        }
 /// <summary>
 /// 通过一个实体给另外一个实体赋值
 /// </summary>
 /// <param name="originalEntity"></param>
 /// <param name="targetEntity"></param>
 private static void SetTargetEntityValue(BusinessDepartment originalEntity,ref BusinessDepartment targetEntity)
 {
     targetEntity.DepartmentName = originalEntity.DepartmentName;
     targetEntity.DepartmentNameShort = originalEntity.DepartmentNameShort;
     targetEntity.CanUsable = originalEntity.CanUsable;
     targetEntity.DepartmentType = originalEntity.DepartmentType;
 }