Exemplo n.º 1
0
 // GET: Admin/Pages/Create
 public IActionResult Create()
 {
     ViewData["GroupID"] = new SelectList(PageGroupRepository.GetAllPageGroup(), "GroupID", "GroupTitle");
     return(View());
 }
Exemplo n.º 2
0
 // GET: Admin/PageGroups
 public async Task <IActionResult> Index()
 {
     return(View(PageGroupRepository.GetAllPageGroup()));
 }
Exemplo n.º 3
0
 // GET: Admin/PageGroups
 public ActionResult Index()
 {
     return(View(pageGroupRepository.GetAllPageGroup()));
 }
 public ActionResult ShowGroupInSlider()
 {
     return(PartialView(pageGroupRepository.GetAllPageGroup()));
 }
 // GET: Admin/Pages/Create
 public ActionResult Create()
 {
     ViewBag.GroupID = new SelectList(pageGroupRepository.GetAllPageGroup(), "GroupID", "GroupTitle");
     return(View());
 }