mercredi 2 décembre 2015

Web api in post method issue

I have created a api for post below

[HttpPost]

public ClsMessage AddUser([FromBody] string UserName, string LastName, string Email, string Password, int RoleId, int RegistrationType, string DeviceId)

{

//here put my logic

}

and i called api so where get a error "Message": "No HTTP resource was found that matches the request URI




Aucun commentaire:

Enregistrer un commentaire