Last active
June 18, 2019 10:02
-
-
Save nest-don/191852d485a62959646b5ae3e04b5f24 to your computer and use it in GitHub Desktop.
This file contains 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<ResultMultiple<Share>> QuerySharesAsync( | |
bool doCache = true, bool throwIfError = true) | |
{ | |
Share shareSeed = new Share(); | |
shareSeed.OwnedBy = _selectedIndustry; | |
ResultMultiple<Share> result = await ResultMultipleUI<Share>.WaitForObjectAsync( | |
backend, throwIfError, shareSeed, doCache); | |
if (result.Code >= 0) | |
{ | |
Shares = result.Data.Payload; | |
SelectedShare = _shares.FirstOrDefault(); | |
} | |
return result; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment