public async Task <ActionResult <IpRecord> > GetLatest(string machineTag, CancellationToken token) { var latestRecord = await _recordsRepository.GetLatestAsync(machineTag, token).ConfigureAwait(false); if (latestRecord is null) { return(new IpRecord { CurrentIP = new IPAddress(new byte[] { 192, 168, 1, 1 }).ToString(), LastSeen = DateTime.Now, MachineName = "dummy" }); } return(latestRecord); }