public object Download(Dictionary <string, string> jsonResult) { if (jsonResult.ContainsKey("savedFields")) { var values = jsonResult["savedFields"]; Dictionary <string, string> data = JsonConvert.DeserializeObject <Dictionary <string, string> >(values); jsonResult = data; } return(helper.GetDocumentData(jsonResult)); }
public JsonResult Download(jsonObjects result) { PdfViewerHelper helper = new PdfViewerHelper(); var jsonResult = JsonConverterstring(result); if (jsonResult.ContainsKey("savedFields")) { var values = jsonResult["savedFields"]; Dictionary <string, string> data = JsonConvert.DeserializeObject <Dictionary <string, string> >(values); jsonResult = data; } return(Json(helper.GetDocumentData(jsonResult))); }
public object Download(Dictionary <string, string> jsonResult) { return(helper.GetDocumentData(jsonResult)); }
//Post action for downloading the PDF documents from the ejPdfviewer widget. public object Download(Dictionary <string, string> jsonResult) { PdfViewerHelper helper = new PdfViewerHelper(); return(helper.GetDocumentData(jsonResult)); }