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