public async Task <IActionResult> AddKnowledge(CreateKnowledgeViewModel vm) { var id = Guid.NewGuid(); await _answerService.AddAsync(new QandA { Id = id, Answer = vm.Answer, Intent = vm.Intent, IsPublic = true }); await _answerService.SaveChangesAsync(); return(Created("/api/luis/knowledge", new { id })); }