Beispiel #1
0
        /// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Delete(int id)
        {
            bool b = RoleBll.DeleteByIdSaved(id);

            return(ResultData(null, b, b ? "角色删除成功!" : "角色删除失败!"));
        }