如何在Web Api odata中使用不同的帖子模型?

时间:2017-09-28 21:28:51

标签: c# asp.net-web-api odata

在发布到我的Web Api post方法时,我想使用与Get方法不同的模型。我的get方法使用例如UserViewModel,但对于post方法,我想使用CreateUserCommand

我该怎么做?

0 个答案:

没有答案
相关问题