public static async Task Run(GeotabDataOnlyPlanAPI api) { ConsoleUtility.LogExampleStarted(typeof(GetSourcesAsyncExample).Name); try { IList <Source> sources = await api.GetSourcesAsync(); } catch (Exception ex) { ConsoleUtility.LogError(ex); } ConsoleUtility.LogExampleFinished(typeof(GetSourcesAsyncExample).Name); }