Model Binding not working

后端 未结 10 1439
别那么骄傲
别那么骄傲 2021-02-06 01:52

I have the following POCO classes:

public class Location
    {
        public int LocationId { get; set; }
        public string Name { get; set; }
        publi         


        
10条回答
  •  清歌不尽
    2021-02-06 02:13

    This saved my day. Iad the following:

    public ActionResult Edit(int masterId, ConclusionView conclusion)
    

    ConclusionView has a property named Conclusion so I nearly lost my mind.

提交回复
热议问题