Created
April 12, 2018 01:02
-
-
Save vmussak/94a87daa96bd4f9f6644d89e1982c37a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/gerar-numero" | |
@inject GeradorDeNumeros GeraNumeros | |
<h1>Gerador de números aleatórios</h1> | |
<h3>O numero gerado foi @numero</h3> | |
@functions { | |
int numero; | |
protected override async Task OnInitAsync() | |
{ | |
numero = GeraNumeros.GerarNumero(1, 1000); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment