CodePudding user response:
How to validate the input parameter types, capture the error message,CodePudding user response:
MVC you how he so authentication, gm's core as well asCodePudding user response:
[httpget]
Public ihttpactionresult aaa (string a)
{
If the string. Isemptyornull (a);
Throw new ex (" parameter is empty ")
}