DotBased/DotBased.AspNet.Authority/Interfaces/IUserRepository.cs

8 lines
308 B
C#
Raw Normal View History

2024-12-21 15:30:17 +01:00
namespace DotBased.AspNet.Authority.Interfaces;
public interface IUserRepository<TUser, TId> : IVersionRepository<TUser>, ISecurityVersionRepository<TUser> where TUser : class where TId : IEquatable<TId>
2024-12-21 15:30:17 +01:00
{
public Task<TUser?> GetUserByIdAsync(TId id);
public Task<TId> GetUserIdAsync(TUser user);
2024-12-21 15:30:17 +01:00
}