public async Task <StorageAccount> GetStorageAccountAsync(string storageAccountId) { MobileServiceCollection <MSStorageAccount, MSStorageAccount> accounts = await App.MobileService.GetTable <MSStorageAccount>() .Where(a => a.account_platform_id == storageAccountId).ToCollectionAsync(); if (accounts.Count >= 1) { return(StorageAccount.ConvertToStorageAccount(accounts.First())); } else { return(null); } }