Lets say I have Employee object coming from client via Post and we receive it in Webapi via [FromBody] attribute.
May I know, how to transfer this object by converting to Json again and posting it to another webapi? The response from this will be integer value. Which I will sending back to the client.
Also, I am trying to make this as Asynchronous.
I tried searching various sites and posts for hours and could not reach to a solution.
Appreciate your help :) Thanks.
[HttpPost]
public Task<ActionResult<int>> GetValue([FromBody] Employee emp)
{
}