// GET: Pptx public ActionResult Index() { var mng = new Pptx(); var sm = new SettingsManager(); mng.SetFolder(sm.GetSetting("folder_presentation", "")); ViewBag.CountSlide = mng.CountSlide(); return(View()); }