refactoring
This commit is contained in:
parent
58de03009a
commit
e794c22f4e
5 changed files with 225 additions and 144 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue