Created
November 22, 2016 10:00
-
-
Save guntidheerajkumar/074c5ee284fe9700eb47b94240bfadb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<List<EmployeeInfo>> GetEmployees() | |
{ | |
await Initialize(); | |
await SyncEmployees(); | |
return await table.ToListAsync(); | |
} | |
public async Task SyncEmployees() | |
{ | |
await client.SyncContext.PushAsync(); | |
await table.PullAsync("allEmployees", table.CreateQuery()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment