Asp.net mvc views for many to many relationship

后端 未结 1 714
小蘑菇
小蘑菇 2021-01-15 03:16

Good day guys, I created few models that implement a many to many relationship; now I\'m having problems correctly formatting/designing the \'Create and Edit\' views. Here a

1条回答
  •  -上瘾入骨i
    2021-01-15 03:29

    You can design UI as shown below.

    Note : Here Guardians is a drop down where can be selected more than one Guardian by multiselecting.You have to use multiselecting dropdown for that.

    You can read more about this here : Many to Many Relationship : a step by step View Model approach

    0 讨论(0)
提交回复
热议问题