mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
14 lines
459 B
C#
14 lines
459 B
C#
namespace Features.Auth.Repository;
|
|
|
|
/// <summary>
|
|
/// Repository for resolving user profile records.
|
|
/// </summary>
|
|
public interface IUserProfileRepository
|
|
{
|
|
/// <summary>
|
|
/// Returns the <c>UserProfileID</c> for <paramref name="userAccountId" />, creating an empty
|
|
/// profile first if one doesn't already exist.
|
|
/// </summary>
|
|
Task<Guid> GetOrCreateProfileIdAsync(Guid userAccountId, CancellationToken cancellationToken);
|
|
}
|