Пример #1
0
        /// <summary>
        /// 修改角色信息
        /// </summary>
        /// <param name="t">实体</param>
        /// <returns>bool 成功返回true 失败返回false</returns>
        public bool Update(Roles t)
        {
            var result = iRoles_DAL.Update(t);

            return(result);
        }
Пример #2
0
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="t">实体</param>
        /// <returns>返回受影响行数</returns>
        public int Update(Roles t)
        {
            var result = IRoles_DAL.Update(t);

            return(result);
        }