using Fengling.Console.Models.Entities; namespace Fengling.Console.Repositories; public interface IUserRepository { Task GetByIdAsync(long id); Task GetByUserNameAsync(string userName); Task> GetAllAsync(); Task> GetPagedAsync(int page, int pageSize, string? userName = null, string? email = null, string? tenantId = null); Task CountAsync(string? userName = null, string? email = null, string? tenantId = null); Task AddAsync(ApplicationUser user); Task UpdateAsync(ApplicationUser user); Task DeleteAsync(ApplicationUser user); }