IdentityServer8
This commit is contained in:
parent
18ddbead66
commit
a16188338a
47 changed files with 4077 additions and 529 deletions
|
|
@ -24,7 +24,7 @@ namespace Yavsc.ViewComponents
|
|||
Where(c=>c.Members.Any(m=>m.MemberId == viewerId))
|
||||
.Select(c=>c.Id).ToArrayAsync();
|
||||
|
||||
var allposts = _context.Blogspot
|
||||
var allposts = _context.BlogSpot
|
||||
.Include(b => b.Author)
|
||||
.Include(p=>p.ACL)
|
||||
.Include(p=>p.Tags)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace Yavsc.ViewComponents
|
|||
{
|
||||
if (target!=null)
|
||||
{
|
||||
var oid = target.GetOwnerId();
|
||||
var oid = target.OwnerId;
|
||||
ViewBag.ACL = dbContext.Circle.Where(
|
||||
c=>c.OwnerId == oid)
|
||||
.Select(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue