Implémentation de la publication d'un billet
All checks were successful
Dotnet build and test / log-the-inputs (push) Successful in 10s
Dotnet build and test / build (push) Successful in 2m0s

This commit is contained in:
Paul Schneider
2025-06-28 16:14:52 +01:00
parent 447d926ca6
commit 70771e5ab5
11 changed files with 3653 additions and 48 deletions

View File

@ -28,9 +28,10 @@ namespace Yavsc.Helpers
{
if (readerId == null)
{
var userPosts = dbContext.BlogSpot.Include(
b => b.Author
).Where(x => ((x.AuthorId == posterId))).ToArray();
var userPosts = dbContext.blogspotPublications.Include(
b => b.BlogPost
).Where(x => x.BlogPost.AuthorId == posterId)
.Select(x=>x.BlogPost).ToArray();
return userPosts;
}
else