Check these two lines:
string Url = "http://localhost:14316/api/employee";
var uri = new Uri(string.Format(Url, Id));
Are you missing something? What effect does the
Id
have here? Your api request does not contain any
Id
. So, I assume it is therefore not finding any matching api signature.
Also, async function needs await keyword.