예제 #1
0
 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));
 }
예제 #2
0
        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));
 }
예제 #4
0
        //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));
        }