We have created a Bot using the Microsoft Bot Framework (C#/.NET SDK) and connected a QnA maker service to the bot. I want to reuse the same QnA API in my Alexa Skill set (either by Lamda function or using the http request).
I am trying to create a API controller method as a wrapper class to convert an Alexa intent into a Microsoft intent and vice versa.
public class AlexaController : ApiController
{
private readonly DirectlineClient _client;
public AlexaController()
{
var directLineSecret = ConfigurationManager.AppSettings["directlinesecret"];
_client = new DirectlineClient(directLineSecret, "alexa" + Guid.NewGuid().ToString().Replace("-", ""));
}