Пример #1
0
        private object RenderIndex(dynamic parameters)
        {
            var list  = _locator.GetPosts(PathProvider.GetPostsPath(_rootPathProvider));
            var model = new PostListingModel {
                Posts = list
            };

            return(View["Index", model]);
        }