public ActionResult Index()
        {
            Session["IsSearched"] = "0";
            Manual file  = new Manual();
            string xPath = Server.MapPath("~/xmlMenu/" + "REFERENCEMATERIALS.xml");

            file.ManualBodyHtml = manualBL.GenerateBodyContentHtml(xPath, 0);
            return(View(file));
        }
Example #2
0
        public ActionResult Index()
        {
            ManualBL   manualBL = new ManualBL();
            ShipManual file     = new ShipManual();
            //string xPath = Server.MapPath("~/xmlMenu/" + "ALLSHIPS.xml");
            string xPath = Server.MapPath(xmlPath);

            file.BodyHtml = manualBL.GenerateBodyContentHtml(xPath, shipId);
            return(View(file));
        }