public async Task PrintCalendar(Guid server, TextWriter outStream) { var entries = await dataBase.GetServerCalendar(server); foreach (var entry in entries) { await outStream.WriteLineAsync($"{entry.Id.ToString()} - {entry.Periodicity} - {entry.NextRun}"); } }