#184 Implémentation des méthodes des repo en local. Suprression des exceptions de non implementation.

This commit is contained in:
josephine.vetu
2026-04-01 16:48:18 +02:00
parent 286397cb9e
commit afc9f1bdb4
4 changed files with 42 additions and 17 deletions

View File

@@ -4,7 +4,6 @@
namespace Webzine.Repository
{
using System;
using System.Collections.Generic;
using System.Linq;
@@ -36,13 +35,13 @@ namespace Webzine.Repository
/// <inheritdoc/>
public void Add(Commentaire commentaire)
{
throw new NotSupportedException("Mode Local"); // TODO à implémenter
this.dataStore.Commentaires.Add(commentaire);
}
/// <inheritdoc/>
public void Delete(Commentaire commentaire)
{
throw new NotSupportedException("Mode Local");
this.dataStore.Commentaires.Remove(commentaire);
}
/// <inheritdoc/>