If you're using ASP.NET Core MVC architecture, you'll set up a class in the NET 6 project that describes your model.account: {id: 1, email: "some@some.com", idRoles: [1, 3], password: "12345", isActive: true}
Describe clearly in your UI with the Razor code, in the first line of the code, the reference to the model by adding a @ sign. Next, your type of method, the name of the controller and the method to which the data are transmitted.<form method="put" asp-controller="Название контроллера" asp-action="Change">
// какая то логика
</form>Here. https://github.com/AndyBrizhak/Rocky , for ASP.NET Core MVC at NET 5, the same link to the video. So you can make a beauty on React, but if you're gonna make him friends with NET Core, you're gonna have to figure out how he works.