public ResponseResult <byte[]> CreateToBytes(QRCodeCreateInput qRCodeCreateInput) { QRCodeCreateEntity qRCodeCreateEntity = QRCodeConvert.ChangeEntity(qRCodeCreateInput); byte[] result = QRCoderHelper.CreateQRCodeToBytes(qRCodeCreateEntity); return(ResponseResult <byte[]> .Success(result)); }
public ResponseResult Test(QRCodeCreateInput qRCodeCreateInput) { QRCodeCreateEntity qRCodeCreateEntity = QRCodeConvert.ChangeEntity(qRCodeCreateInput); string fileName = QRCoderHelper.CreateQRCodeToFile(qRCodeCreateEntity); return(ResponseResult.Success(fileName)); }
public ResponseResult <string> CreateToBase64(QRCodeCreateInput qRCodeCreateInput) { QRCodeCreateEntity qRCodeCreateEntity = QRCodeConvert.ChangeEntity(qRCodeCreateInput); string result = QRCoderHelper.CreateQRCodeToBase64(qRCodeCreateEntity); return(ResponseResult <string> .Success(result)); }