feat: implemented Mediator and added dialog service

This commit is contained in:
Mikhail Shabanov committed 2021-04-04 15:44:52 +02:00
1 parent ec977c490a
commit 38c631bc44
13 files changed
+188 -54

No files matched your search

@@ -1,16 +0,0 @@
@page "/counter"
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}
@@ -0,0 +1,8 @@
@using WotBlitzStatisticsPro.Blazor.Model
<h3>SearchDialog</h3>
@DialogType
@code {
[Parameter]
public DialogType DialogType { get; set; }
}