Ejemplo n.º 1
0
        public ActionResult Actives(String type)
        {
            #region metas version
            SetMetasVersion();
            #endregion
            Models.PageModels.ActivesModel model = new Models.PageModels.ActivesModel(Active.ActiveReflectionFactory.GetActiviesForAll());

            ViewData["type"] = type;
            return View(model);
        }
Ejemplo n.º 2
0
 public ActionResult AddActives(String dllname, String spacename, String functionname, String type, Boolean enable)
 {
     #region metas version
     ViewData["jsversion"] = BiZ.Sys.RunStatus.JsVersion;
     ViewData["cssversion"] = BiZ.Sys.RunStatus.CSSVersion;
     ViewData["imageversion"] = BiZ.Sys.RunStatus.ImageVersion;
     ViewData["uploadpath"] = CBB.ConfigurationHelper.AppSettingHelper.GetConfig("uploadPath");
     #endregion
     Active.ActiveReflectionFactory.AddActive(dllname, spacename, functionname, type, enable);
     Models.PageModels.ActivesModel model = new Models.PageModels.ActivesModel(Active.ActiveReflectionFactory.GetActiviesForAll());
     return Json(new JavaScriptSerializer().Serialize(model));
 }
Ejemplo n.º 3
0
 public ActionResult DelActives(String id)
 {
     #region metas version
     ViewData["jsversion"] = BiZ.Sys.RunStatus.JsVersion;
     ViewData["cssversion"] = BiZ.Sys.RunStatus.CSSVersion;
     ViewData["imageversion"] = BiZ.Sys.RunStatus.ImageVersion;
     ViewData["uploadpath"] = CBB.ConfigurationHelper.AppSettingHelper.GetConfig("uploadPath");
     #endregion
     Active.ActiveReflectionFactory.DelActive(id);
     Models.PageModels.ActivesModel model = new Models.PageModels.ActivesModel(Active.ActiveReflectionFactory.GetActiviesForAll());
     return Json(new JavaScriptSerializer().Serialize(model));
 }