diff --git a/src/iLoan.Rules.Web/Components/Layout/MainLayout.razor b/src/iLoan.Rules.Web/Components/Layout/MainLayout.razor index 10f3172..5cde18d 100644 --- a/src/iLoan.Rules.Web/Components/Layout/MainLayout.razor +++ b/src/iLoan.Rules.Web/Components/Layout/MainLayout.razor @@ -24,8 +24,7 @@ - - + diff --git a/src/iLoan.Rules.Web/Components/Pages/CoreRules.razor b/src/iLoan.Rules.Web/Components/Pages/CoreRules.razor index d1275c7..3b67b43 100644 --- a/src/iLoan.Rules.Web/Components/Pages/CoreRules.razor +++ b/src/iLoan.Rules.Web/Components/Pages/CoreRules.razor @@ -1,4 +1,4 @@ -@page "/core-rules" +@page "/" CoreRules @@ -78,10 +78,8 @@ - - - - CoreRuleCriteriaAddButtonClick(args,coreRuleChild)) /> + + CoreRuleCriteriaAddButtonClick(args,coreRuleChild)) /> @@ -118,10 +116,8 @@ - - - - CoreRuleCriteriaOperatorsAddButtonClick(args,coreRuleChild)) /> + + CoreRuleCriteriaOperatorsAddButtonClick(args,coreRuleChild)) /> diff --git a/src/iLoan.Rules.Web/Components/Pages/Index.razor b/src/iLoan.Rules.Web/Components/Pages/Index.razor deleted file mode 100644 index eca0b8a..0000000 --- a/src/iLoan.Rules.Web/Components/Pages/Index.razor +++ /dev/null @@ -1,31 +0,0 @@ -@page "/" -Index - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/iLoan.Rules.Web/Components/Pages/Index.razor.cs b/src/iLoan.Rules.Web/Components/Pages/Index.razor.cs deleted file mode 100644 index ead092b..0000000 --- a/src/iLoan.Rules.Web/Components/Pages/Index.razor.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Net.Http; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Authorization; -using Microsoft.AspNetCore.Components.Forms; -using Microsoft.AspNetCore.Components.Routing; -using Microsoft.AspNetCore.Components.Web; -using Microsoft.AspNetCore.Components.Web.Virtualization; -using Microsoft.JSInterop; -using Radzen; -using Radzen.Blazor; - -namespace ILoan.Rules.Web.Components.Pages -{ - public partial class Index - { - [Inject] - protected IJSRuntime JSRuntime { get; set; } - - [Inject] - protected NavigationManager NavigationManager { get; set; } - - [Inject] - protected DialogService DialogService { get; set; } - - [Inject] - protected TooltipService TooltipService { get; set; } - - [Inject] - protected ContextMenuService ContextMenuService { get; set; } - - [Inject] - protected NotificationService NotificationService { get; set; } - } -} \ No newline at end of file diff --git a/src/iLoan.Rules.Web/Models/Rules/CoreRule.cs b/src/iLoan.Rules.Web/Models/Rules/CoreRule.cs index 2eabece..2d23ce8 100644 --- a/src/iLoan.Rules.Web/Models/Rules/CoreRule.cs +++ b/src/iLoan.Rules.Web/Models/Rules/CoreRule.cs @@ -59,8 +59,8 @@ namespace ILoan.Rules.Web.Models.Rules public string update { get; set; } - public ICollection CoreRuleCriteria { get; set; } + public ICollection CoreRuleCriteria { get; set; } = []; - public ICollection CoreRuleCriteriaOperators { get; set; } + public ICollection CoreRuleCriteriaOperators { get; set; } = []; } } \ No newline at end of file