public override ActionResult Index(RenderModel model) { var viewModel = new ViewModel<Home> { Content = model.As<Home>() }; return CurrentTemplate(viewModel); }
// GET: Article public ActionResult Index(RenderModel model) { var viewModel = new ViewModel<Article> { Content = model.As<Article>() }; return CurrentTemplate(viewModel); }