Пример #1
0
 /// <summary>
 /// 修改一个实体
 /// </summary>
 /// <param name="_entity"></param>
 /// <returns></returns>
 public int Update(Models.APP.Comments model)
 {
     return(dal.Update(model));
 }
Пример #2
0
        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="t"></param>
        /// <returns></returns>
        public int Update(Comments t)
        {
            var result = iComments.Update(t);

            return(result);
        }