public void Update(OrderProduct item) { _dbContext.Entry(item).State = EntityState.Modified; }
public void Update(TEntity item) { _dbContext.Entry(item).State = EntityState.Modified; }