public async Task <IActionResult> Get() { var customers = await _repository .BrowseAsync(); return(Json(customers.Select(x => new { x.CustomerId, x.VehicleId, x.RegNo, x.LatestPingAt, Status = (x.LatestPingAt.HasValue?x.LatestPingAt.Value.ToUniversalTime().AddMinutes(1) > DateTime.UtcNow:false) }))); }