Resolution de conflit sur "LocalCommentaireRepository"

This commit is contained in:
Loic Masi
2026-03-27 11:38:18 +01:00
23 changed files with 361 additions and 536 deletions

View File

@@ -8,8 +8,8 @@ namespace Webzine.Repository
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Webzine.Entity;
using Webzine.Repository.Contracts;
using Webzine.Entity;
using Webzine.Repository.Contracts;
/// <summary>
/// Initialise une classe <see cref="LocalCommentaireRepository"/> qui implémente l'interface <see cref="ICommentaireRepository"/> pour gérer les opérations liées aux commentaires.
@@ -55,7 +55,7 @@ namespace Webzine.Repository
{
var commentaire = this.dataStore.Commentaires.FirstOrDefault(c => c.IdCommentaire == idCommentaire);
if (commentaire == null)
{
{
return new Commentaire();
}
@@ -94,4 +94,4 @@ namespace Webzine.Repository
.ToList();
}
}
}
}