Ejemplo n.º 1
0
        public override string RenderBody()
        {
            var itemList          = _nccPostService.LoadAtchive(DisplayOrder);
            ArchiveViewModel item = new ArchiveViewModel();

            item.ShowPostCount     = ShowPostCount;
            item.DisplayAsDropdown = DisplayAsDropdown;
            item.ItemList          = itemList;
            var body = _viewRenderService.RenderToStringAsync <BlogController>(ViewFileName, item).Result;

            return(body);
        }