I create a form with razor to have specific controller and action with asp-controller and asp-action but after razor render the page, I get form with empty action. I do not know why
<form asp-controller="PanelController" asp-action="AddCatAndSubAndBrand" method="post">
but result in html is
<form method="post" action="">
I put @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers in _viewImports