Exemple #1
0
        async Task <QRCodeData> IQRCodeProvider.Read(QRCodeFromFile data)
        {
            var result   = new QRCodeData();
            var url      = BuildReadResourceUri();
            var response = await _restClientHelper.PostImageAsync(url, data.ToGoQRCodeFromFileData());

            if (response.Success)
            {
                result.Data = response.Data.Type;
            }

            return(result);
        }