Skip to content

Instantly share code, notes, and snippets.

@katstojanovski
Last active May 24, 2016 13:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Article ViewModel
[ContentModel("article", true)]
public class Article : ViewModelBase, IRenderableViewModel
{
[TextField]
public string Heading { get; set; }
[RenderData]
public IRenderData RenderData { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment