mercredi 15 juin 2016

Sending string from [HttpPost] Web Api and read it as int in MVC

I'm making an [HttpPost] Web Api that executes a stored procedure that inserts an object in DB then retrieves its created ID, then I'm consuming this service in an MVC website. The sent ID is always 0, how can I get the right value?

Aucun commentaire:

Enregistrer un commentaire