asp.net web-api検証

参考

パラメーターが空の場合の対応

d.hatena.ne.jp

検証エラーメッセージ取得

qiita.com

OnActionExecutingでのModelState.IsValid

stackoverflow.com