コード例 #1
0
 private async void LoadTourn(int tournId)
 {
     SetBusy(true);
     Tourn = Mapper.Map <LogicLayer.Model.Tourn, Tourn>(await _agent.GetTournAsync(tournId));
     //await Task.Delay(1000);
     SetBusy(false);
 }
コード例 #2
0
 private async void LoadTourn(int tournId)
 {
     Tourn      = Mapper.Map <LogicLayer.Model.Tourn, Tourn>(await _tournAgent.GetTournAsync(tournId));
     TournTitle = Tourn.Title;
 }