Here is the code snippet I am currently working with. Initially, it was functioning properly but now I am encountering an error message stating that submit() is undefined:
<form action="/Account/LogOff"
id="logoutForm"
method="post"
style="display: inline-block">
@Html.AntiForgeryToken()
<a id="theme"
onclick="submit(); return false;"
title="Logoff">
<i class="fa fa-power-off fa-fw"></i>
</a>
</form>
It is worth noting that this form is AngularJS based; however, I do not believe that requires any specific AngularJS capabilities for submission.