public PrintController(IHtmlToPdfConverterService htmlToPdfConverter, IWebHostEnvironment webHostEnvironment) { this.htmlToPdfConverter = htmlToPdfConverter; this.webHostEnvironment = webHostEnvironment; }
public PdfController(IHtmlToPdfConverterService htmlToPdfConverter, IPrintService printService, IWebHostEnvironment environment) { this.htmlToPdfConverter = htmlToPdfConverter; this.printService = printService; this.Environment = environment; }