Files
webzine/Webzine.Repository.Contracts/ITtitreRepository.cs

30 lines
575 B
C#

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<Titre> FindTitres(int offset, int limit);
IEnumerable<Titre> FindAll();
void IncrementNbLectures(Titre titre);
void IncrementNbLikes(Titre titre);
IEnumerable<Titre> Search(string mot);
IEnumerable<Titre> SearchByStyle(string libelle);
void Update(Titre titre);
}
}