Created
March 18, 2020 22:30
How To Make A Block Use Multiple Views ? A Partial View Controller Explained - 13
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
public override ActionResult Index(ColourBlock currentBlock) | |
{ | |
var displayTag = GetDisplayOptionTag(); | |
return PartialView("Index", new ColourBlockViewModel(currentBlock, EpiserverDependencies, displayTag)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment