From dbd12ba5d5fb73e28a035f2d6610516e280f64da Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 24 Jan 2017 11:32:53 +0100 Subject: [PATCH] Fixes the circles component, Broken with a recent commit, a "cleaning" :-/ --- Yavsc/ViewComponents/CirclesControlViewComponent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Yavsc/ViewComponents/CirclesControlViewComponent.cs b/Yavsc/ViewComponents/CirclesControlViewComponent.cs index c5b54711..2ea57d0b 100644 --- a/Yavsc/ViewComponents/CirclesControlViewComponent.cs +++ b/Yavsc/ViewComponents/CirclesControlViewComponent.cs @@ -1,4 +1,5 @@ using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Rendering; using Yavsc.Models; @@ -15,7 +16,7 @@ namespace Yavsc.ViewComponents { this.dbContext = dbContext; } - public IViewComponentResult InvokeAsync (ICircleAuthorized target) + public async Task InvokeAsync (ICircleAuthorized target) { var oid = target.GetOwnerId(); ViewBag.ACL = dbContext.Circle.Where(