#184 Implémentation des méthodes des repo en local. Suprression des exceptions de non implementation.
This commit is contained in:
@@ -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/>
|
||||
|
||||
Reference in New Issue
Block a user