I have to say that I haven't tried it, but my guess is that you have to change the type of myData to a matching object as you have your js object not a string.
for example have:
class MyData
{
// Whatever are your properties ex: SelectedYears, columns etc..
}
change the signature to
public string Create(string myType, MyData myData)