private static void PopulateDisqusThread(EntryViewModel entryViewModel, PageViewModel pageViewModel)
 {
     entryViewModel.DisqusThread = new DisqusThreadViewModel
     {
         Shortname = pageViewModel.DisqusShortname,
         Identifier = entryViewModel.Id,
         Url = entryViewModel.CanonicalUrl
     };
 }
        private void PopulateCanonicalUrl(EntryViewModel entryViewModel)
        {
            var canonicalUrlGenerator = new CanonicalUrlGenerator(this.urlHelper);

            entryViewModel.CanonicalUrl = canonicalUrlGenerator.FromRouteValues(
                "viewentry",
                "Entries",
                new
                {
                    pageSlug = entryViewModel.PageSlug,
                    entrySlug = entryViewModel.Slug
                });
        }
 private static void PopulatePageDetails(EntryViewModel entryViewModel, PageViewModel pageViewModel)
 {
     entryViewModel.PageSlug = pageViewModel.Slug;
 }
        private static void PopulateBody(EntryViewModel entryViewModel)
        {
            var markdown = new Markdown();

            entryViewModel.Body = markdown.Transform(entryViewModel.Body);
        }