Jaykumar Suthar

Jaykumar Suthar

  • NA
  • 207
  • 16.1k

CS0135: ‘?Model’ conflicts

Oct 5 2018 2:58 AM
when add link in cshtml as per below
@Html.ActionLink("Delete", "Delete", new { UserId = Model.UserId }, new { @class = "btn btn-bitbucket" })
 
then this error come , how to resolve.
CS0135: 'Model' conflicts with the declaration 'System.Web.Mvc.WebViewPage.Model'
 

Answers (3)