public static async Task <MicrosoftDynamicsCRMadoxioEventscheduleCollection> GetEventscheduleByEventAsync(this IEvents operations, string eventId) { var result = await operations.GetEventscheduleByEventWithHttpMessagesAsync(eventId, null); return(result.Body); }