using Sem11_12.Model;

using System.Collections.Generic;


namespace Sem11_12.Repository
{
    interface IRepository<ID, E> where E : Entity<ID>
    
    // Repository<ID, E extends Entity<ID>>
    {
        E FindOne(ID id);
        IEnumerable<E> FindAll();
        E Save(E entity);
        E Delete(ID id);
        E Update(E entity);
    }
}
