source: is a function and the return type of it must be an array, so you can try this:
success: function (data) {
return data;
},
error: function (result) {
return [];
}
If it does not work, you can try to change
IList<string>
to
List<string>
instead.
Hope this help.