/// <summary>
        /// 删除权限
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public ActionResult AuthorityDelete(Authority model)
        {
            AjaxReturnData result             = new AjaxReturnData();
            int            EditCount          = 0;
            Dictionary <string, object> param = new Dictionary <string, object>();

            param.Add("ObjectId", model.ObjectId);

            EditCount = _authority.DeleteSigerData <Authority>(param);

            if (EditCount > 0)
            {
                result.States  = true;
                result.Message = "成功.";
            }
            else
            {
                result.States  = false;
                result.Message = "失败.";
            }

            return(AjaxJson(result));
        }