using Microsoft.AspNetCore.Mvc; using Mini.Web.WebHelper; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Mini.Web.Areas.Admin.Components { public class ToolBarViewComponent : ViewComponent { /* 如果需要构造函数的话,你就创建 */ /// /// 构造函数 /// public ToolBarViewComponent() { } /// /// 异步调用 /// /// public async Task InvokeAsync(ToolBar ToolBar) { return View(ToolBar); } } }