How can I insert new item on a list<> checking id for duplicates?

前端 未结 0 1323
陌清茗
陌清茗 2020-12-09 05:58

I have to make a list of runners and the user cannot insert a runner that has the same Id of another runner (wich has been inserted).

I tried with this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题