public static async Task <bool> TryUpdateEventAsync() { // Create an event first, then update it. string createdEvent = await UserSnippets.CreateEventAsync(); return(await UserSnippets.UpdateEventAsync(createdEvent)); }