c90b07386d
- Extract inline styles to wwwroot/css/admin.css - Bootstrap Icons for nav and buttons - Styled page headers, table, empty state, readonly fields - Email Channels admin: list, create, edit, delete - GetAllEmailChannelsQuery + handler - AdminChannelsController with full CRUD - form id + form= attribute pattern for EditorLayout footer buttons Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 lines
664 B
C#
14 lines
664 B
C#
using HrynCo.NotificationService.DAL.Abstract.Providers;
|
|
|
|
namespace HrynCo.NotificationService.DAL.Abstract.Repositories;
|
|
|
|
public interface IEmailChannelRepository
|
|
{
|
|
Task<IReadOnlyList<EmailChannel>> GetAllAsync(CancellationToken ct = default);
|
|
Task<IReadOnlyList<EmailChannel>> GetByServiceAsync(string serviceName, CancellationToken ct = default);
|
|
Task<EmailChannel?> GetByIdAsync(Guid id, CancellationToken ct = default);
|
|
Task AddAsync(EmailChannel channel, CancellationToken ct = default);
|
|
Task UpdateAsync(EmailChannel channel, CancellationToken ct = default);
|
|
Task DeleteAsync(EmailChannel channel, CancellationToken ct = default);
|
|
}
|