Browse Source

Refactor NewUserStatisticWidgetViewComponent

pull/1523/head
Halil İbrahim Kalkan 7 years ago
parent
commit
59849384ad
  1. 6
      samples/DashboardDemo/src/DashboardDemo.Web/Pages/Components/NewUserStatisticWidget/NewUserStatisticWidgetScriptContributor.cs
  2. 6
      samples/DashboardDemo/src/DashboardDemo.Web/Pages/Components/NewUserStatisticWidget/NewUserStatisticWidgetViewComponent.cs

6
samples/DashboardDemo/src/DashboardDemo.Web/Pages/Components/NewUserStatisticWidget/NewUserStatisticWidgetScriptContributor.cs

@ -1,8 +1,4 @@
using System; using DashboardDemo.Web.Bundles;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DashboardDemo.Web.Bundles;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;

6
samples/DashboardDemo/src/DashboardDemo.Web/Pages/Components/NewUserStatisticWidget/NewUserStatisticWidgetViewComponent.cs

@ -1,6 +1,4 @@
using System; using DashboardDemo.Web.Bundles;
using System.Threading.Tasks;
using DashboardDemo.Web.Bundles;
using DashboardDemo.Web.Pages.Components.NewUserStatisticWidget; using DashboardDemo.Web.Pages.Components.NewUserStatisticWidget;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc;
@ -14,7 +12,7 @@ namespace DashboardDemo.Web.Pages.Components.CountersWidget
)] )]
public class NewUserStatisticWidgetViewComponent : AbpViewComponent public class NewUserStatisticWidgetViewComponent : AbpViewComponent
{ {
public async Task<IViewComponentResult> InvokeAsync() public IViewComponentResult Invoke()
{ {
return View(); return View();
} }

Loading…
Cancel
Save