♻️ Refactored email localization & template engine
This commit is contained in:
7
DysonNetwork.Shared/Templating/ITemplateService.cs
Normal file
7
DysonNetwork.Shared/Templating/ITemplateService.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user