public static Document GetDocument(List<long> IdList)
{
//my code
}
I am passing the parameter from UI as:-
getMulipleDocument: function (documentId) {
return $http({
url: apiUrl + "Info/GetDocument?IdList=" + documentId,});
Bug:- parameter is coming as null in web api method. May I pass the list as parameter in Web api method?