Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Validate input parameters to WCF web service

$
0
0

I have WCF web service that takes 2 dates as input parameters. 

I need to validate that the difference between two dates is not larger than 2, and return error code for the user for this.

 [OperationContract]
 List<PERSONAL> getPersonalChangeList(DateTime fromDate, DateTime toDate);

please any helfp?


Viewing all articles
Browse latest Browse all 555

Trending Articles