/// <summary> /// 删除一条数据 /// </summary> public void Delete(int id) { dal.Delete(id); }
public IResult Delete(Customers customer) { _Icustomersdal.Delete(customer); return(new SuccessResult()); }