razorpdf in mvc 5

razorpdf in mvc 5



        public ActionResult PDF()
        {
            List<ContractExpiration> contractExpiration = new List<ContractExpiration>();
            if (_userSession != null)
            {
                DALContractExpiration objDALCExp = new DALContractExpiration();
                contractExpiration = mapper.MapDALContractExpiration2BAL(objDALCExp.getContractExpiration(_userSession.CompanyID, _userSession.TenantID, Constants.ContractExpDays));
            }
            return new RazorPDF.PdfResult(contractExpiration, "PDF");

        }
ANIL SINGH

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - http://www.code-sample.com and http://www.code-sample.xyz
My Books - Google Amazon and Flipkart Book Store!

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.