Skip to content

Instantly share code, notes, and snippets.

@explorer14
Created January 12, 2021 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save explorer14/bc79ef6148f586ecf8ce6ae16a98bd36 to your computer and use it in GitHub Desktop.
Save explorer14/bc79ef6148f586ecf8ce6ae16a98bd36 to your computer and use it in GitHub Desktop.
private async Task GetCurrentBudget()
{
try
{
CurrentBudget = (await traxpenseApi.GetCurrentBudget(
ClientSession.CurrentPeriod.PeriodId)).ToViewModel();
}
catch (AuthenticationFailed)
{
await authService.Logout();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment