Parameter count mismatch error when trying to change what is being displayed in a Blazor application - C#