// GET: Admin/Pages/Create
 public IActionResult Create()
 {
     ViewData["GroupID"] = new SelectList(_pageGroupRepository.GetAllPageGroups(), "GroupID", "GroupTitle");
     return(View());
 }
Exemplo n.º 2
0
 // GET: Admin/PageGroups
 public async Task <IActionResult> Index()
 {
     return(View(_pageGroupRepository.GetAllPageGroups()));
 }