cleanings & circle links

This commit is contained in:
Paul Schneider 2017-02-02 13:49:47 +01:00
commit 7369331ffd
10 changed files with 10 additions and 14 deletions

View file

@ -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(