DotBased/DotBased.AspNet.Authority/Repositories/IUserRepository.cs

9 lines
335 B
C#
Raw Normal View History

2024-12-25 22:50:04 +01:00
namespace DotBased.AspNet.Authority.Repositories;
2024-12-21 15:30:17 +01:00
2024-12-26 20:01:57 +01:00
public interface IUserRepository<TUser> where TUser : class
2024-12-21 15:30:17 +01:00
{
2024-12-26 20:01:57 +01:00
public Task<TUser?> GetUserByIdAsync(string id);
public Task<string> GetUserIdAsync(TUser user);
2024-12-23 00:59:13 +01:00
public Task SetVersion(TUser user, long version);
public Task SetSecurityVersion(TUser user, long version);
2024-12-21 15:30:17 +01:00
}