public object SetExamplePdf(HttpRequestMessage request)
        {
            var template_id = request.GetQueryNameValuePairs().Single(t => t.Key == "id").Value;
            var bytes       = request.Content.ReadAsByteArrayAsync().Result;
            var pdfInfo     = PDFUtility.GetPdfInfo(bytes);

            ContentManager.GetInstance().SetExamplePdf(template_id, bytes);
            return(pdfInfo);
        }
        public object GetPdfInfo(HttpRequestMessage request)
        {
            var bytes = request.Content.ReadAsByteArrayAsync().Result;

            return(PDFUtility.GetPdfInfo(bytes));
        }