cleanings & circle links
This commit is contained in:
parent
d42aef0f57
commit
7369331ffd
10 changed files with 10 additions and 14 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Microsoft.AspNet.Mvc.Rendering;
|
||||
using Yavsc.Models;
|
||||
|
|
@ -18,7 +17,7 @@ namespace Yavsc.ViewComponents
|
|||
}
|
||||
|
||||
|
||||
public async Task<IViewComponentResult> InvokeAsync (ICircleAuthorized target)
|
||||
public IViewComponentResult Invoke (ICircleAuthorized target)
|
||||
{
|
||||
var oid = target.GetOwnerId();
|
||||
ViewBag.ACL = dbContext.Circle.Where(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue