cleanings & circle links
This commit is contained in:
parent
d42aef0f57
commit
7369331ffd
10 changed files with 10 additions and 14 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Yavsc.Helpers;
|
||||
using Yavsc.Models;
|
||||
|
|
@ -13,7 +12,7 @@ namespace Yavsc.ViewComponents
|
|||
this.dbContext = dbContext;
|
||||
}
|
||||
|
||||
public async Task<IViewComponentResult> InvokeAsync ( string userId, string imgFmt )
|
||||
public IViewComponentResult Invoke ( string userId, string imgFmt )
|
||||
{
|
||||
return View ( "Default", dbContext.AvatarUri(userId, imgFmt));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue