public async Task <IActionResult> HandleSkillRequest([FromBody] SkillRequest alexaRequest) { // Security check bool result = await CheckSecurityAsync(alexaRequest); if (!result) { return(BadRequest()); } var requestType = alexaRequest.GetRequestType(); if (requestType == typeof(IntentRequest)) { var response = await HandleIntentsAsync(alexaRequest); return(Ok(response)); } if (requestType == typeof(LaunchRequest)) { _skillResponse = _jellenWedding.GetWeddingDateCountDown(PersonType.Self); SkillResponse finalResponse = ResponseBuilder.TellWithCard(_skillResponse.Speech, "Wedding Info", _skillResponse.Message); return(Ok(finalResponse)); } return(Ok(ErrorResponse())); }