public async Task MapShow() { try { var shows = await MazeHelper.GetShows(); using (var db = new MediaDbContext()) { foreach (var show in shows) { if (db.Shows.Find(show.Id) == null) { await db.AddAsync(show); await db.SaveChangesAsync(); } await MapPerson(show.Id); } } } catch (Exception ex) { var message = ex.Message; } }