public async Task GetAllSessions() { var api = new ConferenceApi(); var sessions = await api.GetAllSessions(); }
public async Task GetSessionsBySpeaker() { var api = new ConferenceApi(); var sessions = await api.GetSessionsBySpeaker(34); }
public async Task GetAllSpeakers() { var api = new ConferenceApi(); var speakers = await api.GetAllSpeakers(); }
public async Task MakeMultipleRequests() { var api = new ConferenceApi(); var speakers = await api.GetAllSpeakers(); foreach (var speakerDto in speakers) { var sessions = await api.GetSessionsBySpeakerName(speakerDto.Name); } }