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