public DeviceRepository(PgContext context) { _context = context; }
public EventRepository(PgContext context) { _context = context; }