Well, I'm doing a project using RAZOR PAGES and I have a question because I'm new at this.
Whenever I want to call a method has to be within a form? For instance

I have a button out of a form, as I call a method that is

```
<button (herecallmethod) ></button>

public void Test(){

}

```

I need call method out of form