Ejemplo n.º 1
0
        public JsonResult AddSlide(int Count)
        {
            var mng = new Pptx();
            var sm  = new SettingsManager();

            mng.SetFolder(sm.GetSetting("folder_presentation", ""));
            bool newSlide = mng.CloneSlidePart(Count);

            return(new JsonResult
            {
                Data = newSlide,
                JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }