refactor: standardiser la journalisation des contrôleurs et l’utilisation des référentiels
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
// using Webzine.Entity;
|
||||
using Webzine.Entity;
|
||||
|
||||
namespace Webzine.Repository.Contracts
|
||||
{
|
||||
public interface IArtisteRepository
|
||||
{
|
||||
// void Add(Artiste artiste);
|
||||
void Add(Artiste artiste);
|
||||
|
||||
// void Delete(Artiste artiste);
|
||||
void Delete(Artiste artiste);
|
||||
|
||||
// Artiste Find(int id);
|
||||
Artiste Find(int id);
|
||||
|
||||
// IEnumerable<Artiste> FindAll();
|
||||
IEnumerable<Artiste> FindAll();
|
||||
|
||||
// void Update(Artiste artiste);
|
||||
void Update(Artiste artiste);
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
// using Webzine.Entity;
|
||||
using Webzine.Entity;
|
||||
|
||||
namespace Webzine.Repository.Contracts
|
||||
{
|
||||
public interface ICommentaireRepository
|
||||
{
|
||||
// void Add(Commentaire commentaire);
|
||||
void Add(Commentaire commentaire);
|
||||
|
||||
// void Delete(Commentaire commentaire);
|
||||
void Delete(Commentaire commentaire);
|
||||
|
||||
// Commentaire Find(int id);
|
||||
Commentaire Find(int id);
|
||||
|
||||
// IEnumerable<Commentaire> FindAll();
|
||||
IEnumerable<Commentaire> FindAll();
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
// using Webzine.Entity;
|
||||
|
||||
using Webzine.Entity;
|
||||
|
||||
namespace Webzine.Repository.Contracts
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Webzine.Repository.Contracts
|
||||
|
||||
void Delete(Titre titre);
|
||||
|
||||
Titre? Find(int idTitre);
|
||||
Titre Find(int idTitre);
|
||||
|
||||
IEnumerable<Titre> FindTitres(int offset, int limit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user