You can create a custom validation attribute. Attach validation attributes to model properties. Refer to Model Validation in ASP.NET Core for ...
確定! 回上一頁