/// <summary> /// 删除 /// </summary> /// <param name="model">实体</param> public void Delete(Users model) { dal.Delete <Users>(model); }
/// <summary> /// 删除一条数据 /// </summary> public void Delete(int id) { dal.Delete(id); }
public IResult Delete(Users user) { _Iusersdal.Delete(user); return(new SuccessResult()); }
public bool Delete(int G_id) { return(_userDal.Delete(G_id)); }
/// <summary> /// 根据主键ID删除数据 /// </summary> /// <param name="id">主键ID的值</param> /// <returns></returns> public bool Delete(int id) { return(dal.Delete(id)); }