/// <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); }
/// <summary> /// 删除一条数据 /// </summary> public bool Delete(int id) { return(dal.Delete(id)); }
/// <summary> /// 根据删除一条数据 /// </summary> public bool Delete(int id, string user_name) { return(dal.Delete(id, user_name)); }