اعتبارسنجی مدلها در Web API
نویسنده: حسن حقی
تاریخ: ۱۳۹۵/۰۷/۱۴ ۱۲:۳۲
آدرس: www.dntips.ir
When a client sends data to your web API, often you want to validate the data before doing any processing. This article shows how to annotate your models, use the annotations for data validation, and handle validation errors in your web API.