How to get the formatter for the current action in WebAPI?

前端 未结 0 325
野趣味
野趣味 2021-01-15 03:25

The config for the project is setup with Xml and Json formatters:

public static void RegisterFormatters(HttpConfiguration config) {
    config.Formatters.Json         


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