Domain repositories now implementing abstract repository interface

This commit is contained in:
Veljko Tosic
2026-02-11 02:22:13 +01:00
parent b54c72bb42
commit cbacb92d98
4 changed files with 11 additions and 13 deletions

View File

@@ -1,11 +1,9 @@
using AipsCore.Domain.Abstract;
using AipsCore.Domain.Models.Whiteboard.ValueObjects;
namespace AipsCore.Domain.Models.Whiteboard.External;
public interface IWhiteboardRepository
public interface IWhiteboardRepository : IAbstractRepository<Whiteboard, WhiteboardId>
{
Task<Whiteboard?> Get(WhiteboardId whiteboardId, CancellationToken cancellationToken = default);
Task Save(Whiteboard whiteboard, CancellationToken cancellationToken = default);
Task<bool> WhiteboardCodeExists(WhiteboardCode whiteboardCode);
}