@page "/keydata/{FromRoute}" @using BlazorColorPicker @inject NavigationManager NavigationManager
@if ("Found".Equals(FromRoute)) {

Gefundenes Velo

} else {

Vermisstes Velo

}
Farbe
Mountain-Bike City-Bike Child-Bike
Abbrechen
Weiter
@code { [Parameter] public string FromRoute { get; set; } string value; bool isOpened = false; string color = "#F1F7E9"; void OpenModal() { isOpened = true; } void ClosedEvent(string value) { color = value; isOpened = false; } private void Next() { NavigationManager.NavigateTo("account/" + @FromRoute); } private void Cancel() { NavigationManager.NavigateTo("caritas_services"); } }