//Update public void UpdateProducer(ProducerModel Producer) { _ProducerContext.Entry(Producer).State = EntityState.Modified; }