Blog Post Id
This commit is contained in:
parent
c450bd7ff8
commit
67da921bce
22 changed files with 4869 additions and 96 deletions
|
|
@ -14,9 +14,9 @@ namespace Yavsc.Server.Helpers
|
|||
if (readerId == null)
|
||||
{
|
||||
var userPosts = dbContext.blogSpotPublications.Include(
|
||||
b => b.BlogPost
|
||||
).Where(x => x.BlogPost.AuthorId == posterId)
|
||||
.Select(x => x.BlogPost).ToArray();
|
||||
b => b.Post
|
||||
).Where(x => x.Post.AuthorId == posterId)
|
||||
.Select(x => x.Post).ToArray();
|
||||
return userPosts;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue