I created this:
<a href="~/Areas/Admin/Views/Event/Index.cshtml"><span>Events:</span> <span class="badge">@ViewBag.Count</span></a>
to count the Number of tables. When I try to navigate to that reference: ~/Areas/Admin/Views/Event/Index.cshtml
i get the following:
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
I have verified it, I have changed it to: @Html.ActionLink("Event", "Index")
to: @Url.View("Event", "Index")
and many more, I've viewed carefully the path, I've removed the Authorize from the controller and searched on internet but nothing.
Can anybody give me some kind of advice?