public static async Task <bool> TryGetMessages() { var messages = await UserSnippets.GetMessagesAsync(); return(messages != null); }
public static async Task <bool> TryGetCurrentUserManagerAsync() { string managerName = await UserSnippets.GetCurrentUserManagerAsync(); return(managerName != null); }
public static async Task <bool> TryGetEventsAsync() { var events = await UserSnippets.GetEventsAsync(); return(events != null); }
public static async Task <bool> TryCreateEventAsync() { string createdEvent = await UserSnippets.CreateEventAsync(); return(createdEvent != null); }
public static async Task <bool> TryCreateUserAsync() { string createdUser = await UserSnippets.CreateUserAsync(STORY_DATA_IDENTIFIER); return(createdUser != null); }
public static async Task <bool> TryGetCurrentUserDriveAsync() { string driveId = await UserSnippets.GetCurrentUserDriveAsync(); return(driveId != null); }
public static async Task <bool> TryGetMeAsync() { var currentUser = await UserSnippets.GetMeAsync(); return(currentUser != null); }
public static async Task <bool> TryGetUsersAsync() { var users = await UserSnippets.GetUsersAsync(); return(users != null); }
public static async Task <bool> TryCreateFolderAsync() { var createdFolderId = await UserSnippets.CreateFolderAsync(Guid.NewGuid().ToString()); return(createdFolderId != null); }
public static async Task <bool> TryUpdateFileAsync() { var createdFileId = await UserSnippets.CreateFileAsync(Guid.NewGuid().ToString(), STORY_DATA_IDENTIFIER); return(await UserSnippets.UpdateFileAsync(createdFileId, STORY_DATA_IDENTIFIER)); }
public static async Task <bool> TryGetCurrentUserFilesAsync() { var files = await UserSnippets.GetCurrentUserFilesAsync(); return(files != null); }
public static async Task <bool> TryGetCurrentUserGroupsAsync() { var groups = await UserSnippets.GetCurrentUserGroupsAsync(); return(groups != null); }
public static async Task <bool> TryGetCurrentUserPhotoAsync() { string photoId = await UserSnippets.GetCurrentUserPhotoAsync(); return(photoId != null); }