public void Put(Guid id, [FromBody] ScreeningDataTable value) { var entity = this.dataContext.Screenings.First(x => x.Id == id); Screening.CopyPropertyValues(value, entity); this.dataContext.Update(entity); this.dataContext.SaveChanges(); }