2018-09-25 17:35:08 +00:00
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2018-10-02 19:49:37 +00:00
|
|
|
|
using Platform.Dialogflow.ViewModels;
|
2018-09-25 17:35:08 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2018-10-02 19:49:37 +00:00
|
|
|
|
namespace Platform.Dialogflow.Controllers
|
2018-09-25 17:35:08 +00:00
|
|
|
|
{
|
|
|
|
|
|
#if DIALOGFLOW
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The /entities endpoint is used to create, retrieve, update, and delete developer-defined entity objects.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Authorize]
|
|
|
|
|
|
[Route("v1/[controller]")]
|
|
|
|
|
|
public class EntitiesController : ControllerBase
|
|
|
|
|
|
{
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
|
public IEnumerable<DialogflowAllEntityViewModel> All()
|
|
|
|
|
|
{
|
|
|
|
|
|
return new List<DialogflowAllEntityViewModel>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|