protected async override Task <object> OnPerform()
        {
            var response = await _restClient.GetTreatyName(_treatyNumber, _captureMethod);

            var data = await response.Content.ReadAsStringAsync();

            switch (response.StatusCode)
            {
            case HttpStatusCode.OK:
                return(new DeSerializer().MapTreatyNumber(data));

            default:
                return(await HandleExceptions(response));
            }
        }