Exemplo n.º 1
0
 // GET: Admin/Pages/Create
 public ActionResult Create()
 {
     ViewBag.GroupID = new SelectList(IPR.GetAllGroups(), "GroupID", "GroupTitle");
     return(View());
 }
 public ActionResult ShowGroupsInMenu()
 {
     return(PartialView(pageGroupRepository.GetAllGroups()));
 }
Exemplo n.º 3
0
 // 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());
 }