You will get this error :
“Cannot serialize interface System.Collections.Generic.IEnumerable”
To solve this problem, simply convert the IEnumerable Object to Array using ToArray() extension method.
You will get this error :
“Cannot serialize interface System.Collections.Generic.IEnumerable”
To solve this problem, simply convert the IEnumerable Object to Array using ToArray() extension method.