public void Remove(PznEntity entity) { _context.Remove(entity); }
public void Update(PznEntity entity) { _context.Entry(entity).State = EntityState.Modified; }
public async void AddAsync(PznEntity entity) { await _context.PznRecords.AddAsync(entity); }