0
Je veux voir s'il y a un moyen de capturer un tableau d'ID sur le backend.Dans Nancyfx comment passer le tableau des ID
J'ai cette méthode de poste.
$http({
method: 'POST',
url: "posting",
headers: {'Content-Type': 'application/json'},
data: myIds // ["1","2" ... etc ]
})
et sur la question arrière est de savoir comment lier les identifiants à une variable?
Post["posting"] = p =>
{
var data = this.Bind();// here is the problem ????
var OK = someMethod(data);
return OK;
};
je pouvais le faire fonctionner si j'ajouter un autre modèle, mais ne nous avons toujours besoin d'un modèle?