protected async override Task <object> OnPerform() { var response = await _fuelPumpRestClient.StopAll(); var data = await response.Content.ReadAsStringAsync(); switch (response.StatusCode) { case HttpStatusCode.OK: var success = new DeSerializer().MapBool(data); return(success); default: return(await HandleExceptions(response)); } }