I cant find what is wrong, why I have System.UriFormatException
string url = Url.Action("SendConfirmationEmail", new { orderid = newOrderDDD.ID.ToString()});
BackgroundJob.Enqueue(() => MyHelpers.CallUrl(url));
And this is my helper that I use
public static void CallUrl(string serviceUrl)
{
var req = HttpWebRequest.Create(serviceUrl);
req.GetResponseAsync();
}
So, what am I doing wrong?