用HttpResponseMessage的返回类型(或更好的返回类型)重写以下代码的更好方法
我有以下代码
public HttpResponseMessage AMIContents(ContentsJsonModel content)
{
ValidateAuthenticationToken();
Log.Information("Ami Content endpoint called");
if (!ModelState.IsValid)
{
Log.Information(LogCa...