public async Task UpdateAsync(PresentationRecord record)
        {
            var original = await _context.PresentationConfigurations.FindAsync(record.Id);

            if (original == null)
            {
                return;
            }

            original.Configuration     = record.Configuration;
            original.SubjectIdentifier = record.SubjectIdentifier;

            _context.Update(original);
            await _context.SaveChangesAsync();
        }
        public void Update(PresentationRecord record)
        {
            var original = _context.PresentationConfigurations.Find(record.Id);

            if (original == null)
            {
                return;
            }

            original.Configuration     = record.Configuration;
            original.SubjectIdentifier = record.SubjectIdentifier;

            _context.Update(original);
            _context.SaveChanges();
        }
        public async Task CreateAsync(PresentationRecord record)
        {
            await _context.AddAsync(record);

            await _context.SaveChangesAsync();
        }
 public void Create(PresentationRecord record)
 {
     _context.Add(record);
     _context.SaveChanges();
 }