Beispiel #1
0
 public bool SetSessionAction(int id, Models.Action action) => SetSessionActionAsync(id, action).GetAwaiter().GetResult();
Beispiel #2
0
 public async Task <bool> SetSessionActionAsync(int id, Models.Action action) => (await leagueAPI.RequestHandler.HttpRequest <Models.Action>(
                                                                                      HttpMethod.Patch,
                                                                                      $"/lol-champ-select/v1/session/actions/{id}",
                                                                                      null,
                                                                                      action
                                                                                      )).didFail;