I have ASP.NET Core API and Console Application. I did created communication from Console Application to API.
using (var client