private async Task LoadSelectedRangeReleaseNotesAsync() { IWorkItemRepository workItemRepository = _provider.GetRequiredService <IWorkItemRepository>(); ReleaseTag @base = lstStartRelease.SelectedItem as ReleaseTag; ReleaseTag head = lstEndRelease.SelectedItem as ReleaseTag; IList <WorkItem> workItems = await workItemRepository.GetReleaseWorkItemsInRangeAsync(@base, head); DisplayWorkItems(workItems); }