// GET: Admin/Pages/Create public ActionResult Create() { ViewBag.GroupID = new SelectList(IPR.GetAllGroups(), "GroupID", "GroupTitle"); return(View()); }
public ActionResult ShowGroupsInMenu() { return(PartialView(pageGroupRepository.GetAllGroups())); }
// GET: Admin/PageGroups public ActionResult Index() { return(View(pageGroupRepository.GetAllGroups().ToList())); }
// GET: Admin/Pages/Create public ActionResult Create() { ViewBag.GroupId = new SelectList(pageGroupRepository.GetAllGroups(), "GroupId", "GroupTitle"); return(View()); }