public Response Post([FromBody] PrintDocument document) { TestRequest request = new TestRequest(); request.Document = document; request.Url = _APIUrlOptions.Value.TestUrl; return(_printProcessor.PrintAsync <TestRequest, Response>(request)); }
public Response Post([FromBody] PrintDocument document) { OpenCommandRequest request = new OpenCommandRequest(); request.Document = document; request.Url = _APIUrlOptions.Value.OpenCommandUrl; return(_printProcessor.PrintAsync <OpenCommandRequest, Response>(request)); }