Home > Net >  Bosses genuflect is begged for the case of a webapi parameter validation
Bosses genuflect is begged for the case of a webapi parameter validation

Time:10-19

Bosses genuflect is begged for the case of a webapi parameter validation

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 as

CodePudding user response:

 
[httpget]
Public ihttpactionresult aaa (string a)
{
If the string. Isemptyornull (a);
Throw new ex (" parameter is empty ")
}


  • Related