public int Delete(int id) { int affectedRows = CommonQueries.DeleteById <SupplierProduct>(ConnectionString, TableName, id); return(affectedRows); }
public int Delete(int id) { var affectedRows = CommonQueries.DeleteById <Discount>(ConnectionString, TableName, id); return(affectedRows); }
public int Delete(int id) { int affectedRows = CommonQueries.DeleteById <Category>(ConnectionString, TableName, id); return(affectedRows); }