public async Task <ListErrorMessagesResponse> ListErrorMessages(ListErrorMessagesRequest request) { if (String.IsNullOrEmpty(request.Language)) { return(new ListErrorMessagesResponse() { Notifications = new ValidationResult(nameof(ErrorResources.LanguageIsEmpty)) }); } var response = await _proxy.CallAsync(c => c.GetAsync($"{_route}/{request.Language}")); return(await response.Deserialize <ListErrorMessagesResponse>()); }
public async Task <LifelineCheckResponse> LifelineCheck(LifelineCheckRequest request) { var response = await _proxy.CallAsync(c => c.GetAsync($"{_route}")); return(await response.Deserialize <LifelineCheckResponse>()); }
public async Task CrashGet(int exceptionType) { var response = await _proxy.CallAsync(c => c.GetAsync($"{_route}/{exceptionType}")); await response.Deserialize <ShoppingResponse>(); }