Ejemplo n.º 1
0
        public ActionResult Create()
        {
            UtteranceManageVM vm = new UtteranceManageVM();

            vm.Intents = intentService.GetIntentsAll();
            vm.Intents.Insert(0, new Intents()
            {
                IntentIDX = 0, IntentName = "선택"
            });

            vm.Utterance = new Utterances();
            vm.SaveMode  = SaveModes.Create;

            return(View(vm));
        }
        /// <summary>
        /// 인텐트 목록 조회
        /// </summary>
        /// <returns></returns>
        public ActionResult List()
        {
            var intents = intentService.GetIntentsAll();

            return(View(intents));
        }