Salman  Mushtaq

Salman Mushtaq

  • NA
  • 45
  • 32.3k

What is solution of this error ?

Jan 31 2014 3:02 PM

The parameters dictionary contains a null entry for parameter 'tid' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Delete(Int32)' in 'Mvc4.Controllers.HomeController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

I pass the value through view but cannot pass the value to action method delete


Answers (1)