namespace DotBased.AspNet.Authority.Interfaces; public interface IUserRepository : IVersionRepository, ISecurityVersionRepository where TUser : class where TId : IEquatable { public Task GetUserByIdAsync(TId id); public Task GetUserIdAsync(TUser user); }