public ActionResult PrintPartialViewToPdf(string id)
        {
            using (IT_ASSET_MANAGEMENTEntities db = new IT_ASSET_MANAGEMENTEntities())
            {
                View_req_af_follow customer = db.View_req_af_follow.FirstOrDefault(c => c.AF_CODE == id);

                var report = new PartialViewAsPdf("~/Views/ReqAFRegister/Details_Print.cshtml", customer);
                return(report);
            }
        }
        public ActionResult Details_Print(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            View_req_af_follow view_Req_Af_Follow = db.View_req_af_follow.Find(id);

            if (view_Req_Af_Follow == null)
            {
                return(HttpNotFound());
            }
            return(View(view_Req_Af_Follow));
        }