'Model' conflicts with the declaration 'System.Web.Mvc.WebViewPage.Model

后端 未结 2 857
迷失自我
迷失自我 2021-01-11 12:41

I have a view to Display the below Customer Object.

public Class Customer
{
    public long Id { get; set; }
    public string Name { get; set; }
    public          


        
2条回答
  •  没有蜡笔的小新
    2021-01-11 13:31

    I have resolved the issue.. Thanks for the viewers.

    The problem was In my View I was using somewhere Model => Model. Its should be model => model.

提交回复
热议问题