// GET: videos/archivelist public IActionResult archivelist() { /* ***************************************/ // Process Page Meta & BreaCrumb /* ***************************************/ var _meta = PageMeta.returnPageMeta(new PageQuery() { controller = ControllerContext.ActionDescriptor.ControllerName, index = ControllerContext.ActionDescriptor.ActionName }); /* List Initialization */ var ListEntity = new ArchiveListModelView() { Type = 0, // represent videos Path = "videos/", HeadingTitle = _meta.title, isAll = true, BreadItems = _meta.BreadItems }; /**********************************************/ // Page Meta Setup /**********************************************/ ViewBag.title = _meta.title; ViewBag.description = _meta.description; return(View(ListEntity)); }
// GET: blogs/archivelist public IActionResult archivelist() { /* ***************************************/ // Process Page Meta & BreaCrumb /* ***************************************/ var _meta = PageMeta.returnPageMeta(new PageQuery() { controller = ControllerContext.ActionDescriptor.ControllerName, index = ControllerContext.ActionDescriptor.ActionName }); /* List Initialization */ var ListEntity = new ArchiveListModelView() { Type = ContentTypes.Blogs, Path = "blogs/", HeadingTitle = _meta.title, BreadItems = _meta.BreadItems, isAll = true }; // Page Title ViewBag.title = _meta.title; return(View(ListEntity)); }