Created
January 30, 2017 04:19
-
-
Save scottaddie/236bc01c8435e2203df374f740d6e3c2 to your computer and use it in GitHub Desktop.
CardTagHelper refactored to read HTML from partial view
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
var content = await _html.PartialAsync("~/Views/Shared/Partials/_Card.cshtml", model); | |
output.Content.SetHtmlContent(content); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment