我想在asp.net mvc中使用我的Action作为模板引擎,它会产生字符串形式,我可以通过电子邮件发送.
伪代码:
public ActionResult Register() { SendEmail(View().ToString()); return new EmptyResult(); }
asp.net-mvc template-engine
asp.net-mvc ×1
template-engine ×1