コード例 #1
0
        public Response Post([FromBody] PrintDocument document)
        {
            TestRequest request = new TestRequest();

            request.Document = document;
            request.Url      = _APIUrlOptions.Value.TestUrl;

            return(_printProcessor.PrintAsync <TestRequest, Response>(request));
        }
コード例 #2
0
        public Response Post([FromBody] PrintDocument document)
        {
            OpenCommandRequest request = new OpenCommandRequest();

            request.Document = document;
            request.Url      = _APIUrlOptions.Value.OpenCommandUrl;

            return(_printProcessor.PrintAsync <OpenCommandRequest, Response>(request));
        }