using Webzine.Entity; namespace Webzine.Repository.Contracts { public interface ITitreRepository { void Add(Titre titre); int Count(); void Delete(Titre titre); Titre? Find(int idTitre); IEnumerable FindTitres(int offset, int limit); IEnumerable FindAll(); void IncrementNbLectures(Titre titre); void IncrementNbLikes(Titre titre); IEnumerable Search(string mot); IEnumerable SearchByStyle(string libelle); void Update(Titre titre); } }