using LibraryManagementSystem.Console.Models;
namespace LibraryManagementSystem.Console.Repositories;
///
/// Определяет CRUD операции для пользователей.
///
public interface IUserRepository
{
int Create(User user);
IEnumerable GetAll();
User? GetById(int id);
bool Update(User user);
bool Delete(int id);
}