refactoring

This commit is contained in:
Paul Schneider 2025-06-29 16:12:16 +01:00
commit e794c22f4e
5 changed files with 225 additions and 144 deletions

View file

@ -24,7 +24,7 @@ namespace Yavsc.Helpers
return user.Identity.IsAuthenticated;
}
public static IEnumerable<BlogPost> UserPosts(this ApplicationDbContext dbContext, string posterId, string readerId)
public static IEnumerable<BlogPost> UserPosts(this ApplicationDbContext dbContext, string posterId, string? readerId)
{
if (readerId == null)
{