Esempio n. 1
0
        public async Task RecordReadings(IEnumerable <ACDeviceReading> readings)
        {
            // await _context.Database.BeginTransactionAsync();
            await _context.AddRangeAsync(readings);

            await _context.SaveChangesAsync();

            await CheckForAlerts(readings);
        }