I'm trying to call an action in my controller:
using this url:
http://localhost:5345/ManageTest/Details/5
[Authorize]
public class ManageTestController : Controller
{
public ActionResult Details(int testId)
{
The parameters dictionary contains a null entry for parameter 'testId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Details(Int32)' in 'MAMAdmin.Controllers.ManageTestController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters