Move projects to src; add Neutrino secret
This commit is contained in:
15
src/RecNet.Domain/Profiles/IProfileRepository.cs
Normal file
15
src/RecNet.Domain/Profiles/IProfileRepository.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user