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