Files
TenWholeYears.Server/src/RecNet.Domain/Profiles/IProfileRepository.cs
2026-06-19 22:52:38 -05:00

16 lines
530 B
C#

using RecNet.Domain.Common;
namespace RecNet.Domain.Profiles;
public interface IProfileRepository
{
Task<Profile?> GetByIdAsync(Guid profileId, CancellationToken ct = default);
Task<IReadOnlyList<Profile>> GetByIdsAsync(List<Guid> profileIds, CancellationToken ct = default);
Task<Profile?> GetByPlatform(PlatformType platform, string platformId, CancellationToken ct = default);
Task AddAsync(Profile profile, CancellationToken ct = default);
Task SaveChangesAsync(CancellationToken ct = default);
}