I’d like to have an html template I’m using for emails. I want to pass a model to it, have it rendered and returned to a string variable.
How can I accomplish this? I’m sure I can use the rendering that comes with asp.net mvc.
I do not want to do this inside my controller or using the controllercontext object.
Using a comment from @Mitch Rosenburg as the answer:
I’m using DotLiquid templates.