Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult Index(StartPage currentPage)
- {
- var repository = ServiceLocator.Current.GetInstance<IContentRepository>();
- var standard = repository.Get<StandardPage>(ContentReference.StartPage).HelloWorld;
- return View(standard);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement