/// <summary>
        /// 编辑页面
        /// </summary>
        /// <param name="id">对象ID</param>
        /// <returns>用户编辑页面</returns>
        public virtual ActionResult Edit(int id = 0)
        {
            var t = (id > 0) ? _dataProvider.GetByKey(id) : SiteManager.Get <T>();

            Session["Editing_" + id] = t;
            //ViewBag.ShowSearchBox = false;
            BeforeShowEditForm(t);
            return(View(t));
        }