Clean Architecture Solution Template for ASP.NET Core 5.0. Built with Onion/Hexagonal Architecture and incorporates the most essential Packages your projects will ever need. Includes both WebApi and Web(MVC) Projects.
I'm suggesting that you change the a:href link inside the the delete forms
<a href="javascript:$('#form_delete_@brand.Id').submit();" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</a>with a submit button <button type="submit" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</button>, because what we have now does show the confirm dialog indeed but when you click any of the confirmation dialog buttons the result is just a redirection to empty content.
I'm suggesting that you change the a:href link inside the the delete forms
<a href="javascript:$('#form_delete_@brand.Id').submit();" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</a>
with a submit button<button type="submit" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</button>
, because what we have now does show the confirm dialog indeed but when you click any of the confirmation dialog buttons the result is just a redirection to empty content.