public async Task <bool> UpdatePoliceScore(int gameId, int score) { var response = new HttpClientResponse(); await response.Convert(HttpClientRequestService.Patch($"games/{gameId}/police-score/{score}")); return(response.IsSuccessful); }
public async Task <bool> UseGadget(int playerId, string gadgetName) { var response = new HttpClientResponse(); await response.Convert(HttpClientRequestService.Patch($"users/{playerId}/gadgets/{gadgetName}")); return(response.IsSuccessful); }
public async Task <bool> CatchThief(int userId) { var response = new HttpClientResponse(); await response.Convert(HttpClientRequestService.Patch($"users/{userId}/catch")); return(response.IsSuccessful); }