♻️ Refactored email localization & template engine

This commit is contained in:
2026-02-05 00:34:11 +08:00
parent 9b6a62ec66
commit ace65db980
19 changed files with 1077 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace DysonNetwork.Shared.Templating;
public interface ITemplateService
{
Task<string> RenderAsync(string templateName, object model, string? locale = null);
Task<string> RenderWithLayoutAsync(string templateName, string layoutName, object model, string? locale = null);
}