Created
July 29, 2021 10:46
-
-
Save gerhart92/0d2cca0f03c263b46f265a7f031e6328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
using Test.Foundation.SitecoreExtensions.Controllers; | |
namespace Test.Feature.Articles.Controllers | |
{ | |
public class ArticleController : MvcController | |
{ | |
public ActionResult Article() | |
{ | |
var model = MvcContext.GetContextItem<Article>(); | |
return View(model); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment