16 lines
530 B
C#
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);
|
|
}
|