Exemplo n.º 1
0
        public static async Task <ResponseModel> ProcessTopup(RequestModel requestModel)
        {
            //ModelState Valid
            var responseData          = new ResponseModel();
            var requestXmlFormatModel = requestModel.ConvertRequestToXmlModel();
            var requestModelToXml     = requestXmlFormatModel.ConvertModelToXml();
            var responseAPIData       = await Send(requestModelToXml);

            var outputData = responseAPIData.ByteArrayToOject <ResponseModel>();

            return(outputData);
        }