/// <summary> /// 删除一条数据 /// </summary> public bool Delete(string CODE) { return(dal.Delete(CODE)); }
public void Delete(int id) { _material.Delete(id, RequestContext.Principal.Identity.Name); }