Skip to content

Instantly share code, notes, and snippets.

@csharpforevermore
Created April 3, 2014 19:10
Show Gist options
  • Save csharpforevermore/9960850 to your computer and use it in GitHub Desktop.
Save csharpforevermore/9960850 to your computer and use it in GitHub Desktop.
Get a view model as IPublishedContent.
UmbracoHelper Help = new UmbracoHelper(UmbracoContext.Current);
IEnumerable Item = Help.TypedContent(JsonId.ToString().Split(',')).OfType();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment