Example #1
0
        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(int id)
        {
            int  c = GetModel(id).user_id;
            bool b = dal.Delete(id);

            new Tea.BLL.users().JiSuan(c);
            return(b);
        }
Example #2
0
 /// <summary>
 /// 删除一条数据
 /// </summary>
 public bool Delete(int id)
 {
     return(dal.Delete(id));
 }
Example #3
0
 /// <summary>
 /// 根据删除一条数据
 /// </summary>
 public bool Delete(int id, string user_name)
 {
     return(dal.Delete(id, user_name));
 }