public async Task EditVegaDeviceDataAsync(VegaMoveDeviceData vegaMoveDeviceData, CancellationToken cancellationToken = default) { _context.Entry(vegaMoveDeviceData).State = EntityState.Modified; await _context.SaveChangesAsync(cancellationToken).ConfigureAwait(false); }
public async Task EditDeviceAsync(VegaDevice vegaTempDevice, CancellationToken token = default) { _context.Entry(vegaTempDevice).State = EntityState.Modified; await _context.SaveChangesAsync(token).ConfigureAwait(false); }