12 lines
419 B
C#
12 lines
419 B
C#
|
|
using YY.Admin.Core.Entity;
|
||
|
|
|
||
|
|
namespace YY.Admin.Core.Services;
|
||
|
|
|
||
|
|
public interface IPrintTemplateService
|
||
|
|
{
|
||
|
|
Task<PrintTemplate?> GetByCodeAsync(string templateCode, CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<PrintTemplate>> ListAsync(CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<PrintTemplate>> RefreshCacheAsync(CancellationToken ct = default);
|
||
|
|
IReadOnlyList<PrintTemplate> GetCached();
|
||
|
|
}
|