/// <summary>
        /// 新增
        /// </summary>
        /// <param name="t"></param>
        /// <returns></returns>
        public int Add(Roles t)
        {
            var result = iRoles.Add(t);

            return(result);
        }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(WSS.Model.Roles model)
 {
     return(dal.Add(model));
 }
Example #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public bool Add(BaseRolesTable model)
 {
     return(dal.Add(model));
 }