using API.Models; namespace API.Persistence.Repositories { public interface IUserRepository { Task CreateUserAsync(User user); Task DeleteUserAsync(string id); Task> QueryAllUsersAsync(); Task QueryUserByIdAsync(string id); Task QueryUserByEmailAsync(string email); Task UpdateUserAsync(User user); Task QueryUserByRefreshTokenAsync(string refreshToken); void Save(); } }