namespace CSR.Application.Interfaces;

using CSR.Domain.Entities;

public interface IUserRepository
{
  Task<User?> GetByIdAsync(int id);
  // Task<User?> GetByEmailAsync(string email);
  // Task<User?> GetByUsernameAsync(string username);
  // Task<IEnumerable<User>> GetAllAsync();
  Task AddAsync(User user);
  Task UpdateAsync(User user);
  Task DeleteAsync(int id);
}
