Example #1
0
        public ActionResult ManageEntity(string heading, string buttonText, string editHeading, int schemaId, string sort = "")
        {
            var model = new ManageModulesViewModel(schemaId)
            {
                Heading = heading,
                NewButtonText = buttonText,
                EditContentHeading = editHeading,
                Sort = sort
            };

            return View("ManageModules", model);
        }
Example #2
0
 public ActionResult ManageModules()
 {
     var model = new ManageModulesViewModel();
     return View(model);
 }