refactor: #93 implement methods for managing titles in DbTitreRepository and LocalTitreRepository
This commit is contained in:
@@ -4,26 +4,26 @@ namespace Webzine.Repository.Contracts
|
||||
{
|
||||
public interface ITitreRepository
|
||||
{
|
||||
// void Add(Titre titre);
|
||||
void Add(Titre titre);
|
||||
|
||||
// int Count();
|
||||
int Count();
|
||||
|
||||
// void Delete(Titre titre);
|
||||
void Delete(Titre titre);
|
||||
|
||||
Titre? Find(int idTitre);
|
||||
|
||||
// IEnumerable<Titre> FindTitres(int offset, int limit);
|
||||
IEnumerable<Titre> FindTitres(int offset, int limit);
|
||||
|
||||
IEnumerable<Titre> FindAll();
|
||||
|
||||
// void IncrementNbLectures(Titre titre);
|
||||
void IncrementNbLectures(Titre titre);
|
||||
|
||||
// void IncrementNbLikes(Titre titre);
|
||||
void IncrementNbLikes(Titre titre);
|
||||
|
||||
IEnumerable<Titre> Search(string mot);
|
||||
|
||||
IEnumerable<Titre> SearchByStyle(string libelle);
|
||||
|
||||
// void Update(Titre titre);
|
||||
void Update(Titre titre);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user