Exemplo n.º 1
0
 async Task <StopChange> DoAsync(StopChange stop)
 {
     return(await _hubService.GetData <StopChange, StopChange>(HubNames.GET_ONE_DELAY, stop));
 }
Exemplo n.º 2
0
 public async Task <ObservableCollection <DelayModel> > SetItems() =>
 await _hubService.GetData <ObservableCollection <DelayModel>, int>(HubNames.GET_DELAYS_METHOD, _stopId);