Move common usings to _Imports.razor for global access
Removed redundant using directives from CatalogsGrid.razor and MassDataGrid.razor. Added them to _Imports.razor to ensure global availability across components. Also added @using DbFirst.BlazorWebApp to _Imports.razor for consistency.
This commit is contained in:
@@ -1,9 +1,3 @@
|
|||||||
@using System.Text.Json
|
|
||||||
@using Microsoft.AspNetCore.Components
|
|
||||||
@using Microsoft.AspNetCore.Components.Rendering
|
|
||||||
@using Microsoft.AspNetCore.Components.Forms
|
|
||||||
@using DevExpress.Blazor
|
|
||||||
@using DevExpress.Data.Filtering
|
|
||||||
@inject CatalogApiClient Api
|
@inject CatalogApiClient Api
|
||||||
@inject LayoutApiClient LayoutApi
|
@inject LayoutApiClient LayoutApi
|
||||||
@inject IJSRuntime JsRuntime
|
@inject IJSRuntime JsRuntime
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
@using System.Text.Json
|
|
||||||
@using Microsoft.AspNetCore.Components
|
|
||||||
@using Microsoft.AspNetCore.Components.Rendering
|
|
||||||
@using Microsoft.AspNetCore.Components.Forms
|
|
||||||
@using DevExpress.Blazor
|
|
||||||
@using DevExpress.Data.Filtering
|
|
||||||
@inject MassDataApiClient Api
|
@inject MassDataApiClient Api
|
||||||
@inject LayoutApiClient LayoutApi
|
@inject LayoutApiClient LayoutApi
|
||||||
@inject IJSRuntime JsRuntime
|
@inject IJSRuntime JsRuntime
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
@using System.Net.Http
|
@using System.Net.Http
|
||||||
@using System.Net.Http.Json
|
@using System.Net.Http.Json
|
||||||
@using Microsoft.AspNetCore.Components.Forms
|
@using Microsoft.AspNetCore.Components.Forms
|
||||||
|
@using Microsoft.AspNetCore.Components.Rendering
|
||||||
@using Microsoft.AspNetCore.Components.Routing
|
@using Microsoft.AspNetCore.Components.Routing
|
||||||
@using Microsoft.AspNetCore.Components.Web
|
@using Microsoft.AspNetCore.Components.Web
|
||||||
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||||
@@ -14,4 +15,6 @@
|
|||||||
@using DevExpress.Blazor
|
@using DevExpress.Blazor
|
||||||
@using DevExpress.DashboardBlazor
|
@using DevExpress.DashboardBlazor
|
||||||
@using DevExpress.DashboardWeb
|
@using DevExpress.DashboardWeb
|
||||||
|
@using DevExpress.Data.Filtering
|
||||||
@using DbFirst.BlazorWebApp
|
@using DbFirst.BlazorWebApp
|
||||||
|
@using System.Text.Json
|
||||||
Reference in New Issue
Block a user