protected async override Task <object> OnPerform() { var content = new StringContent(JsonConvert.SerializeObject(_cardSwipe) , Encoding.UTF8, ApplicationJSON); var response = await _restClient.GetCardInformation(content); var data = await response.Content.ReadAsStringAsync(); switch (response.StatusCode) { case HttpStatusCode.OK: var tenderInformation = new DeSerializer().MapGetCardInformation(data); return(new Mapper().MapCardTenderInformation(tenderInformation)); default: return(await HandleExceptions(response)); } }