How to implement post method and auto increment id[pk] in web api?

后端 未结 0 2022
刺人心
刺人心 2021-01-11 18:52
When I am passing the values using post method in postman, Id is passing as 0 everytime, where id is the primary key in my database table. 
    
Here is my model :
          


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