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'


Jaykumar SutharRank #9,921 · 201 reputationPosted Oct 5, 2018, 12:14 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Oct 4, 2018, 11:02 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Oct 5, 2018, 2:34 AM EDT