Write OnClick Events in C# using Blazor and Eliminate JavaScript