public IActionResult Bookmarks([FromBody] Dictionary <string, string> jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(_cache); object jsonResult = pdfviewer.GetBookmarks(jsonObject); return(Content(JsonConvert.SerializeObject(jsonResult))); }
public object Bookmarks(Dictionary <string, string> jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(); var jsonResult = pdfviewer.GetBookmarks(jsonObject); return(jsonResult); }
public IActionResult Bookmarks([FromBody] Dictionary <string, string> jsonObject) { //Initialize the PDF Viewer object with memory cache object PdfRenderer pdfViewer = new PdfRenderer(Cache); var jsonResult = pdfViewer.GetBookmarks(jsonObject); return(Content(JsonConvert.SerializeObject(jsonResult))); }
public ActionResult Bookmarks(jsonObjects jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(); var jsonData = JsonConverter(jsonObject); object jsonResult = pdfviewer.GetBookmarks(jsonData); return(Content(JsonConvert.SerializeObject(jsonResult))); }