BotSharp/Platform.Dialogflow/Controllers/EntitiesController.cs

26 lines
675 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
2018-10-02 19:49:37 +00:00
using Platform.Dialogflow.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
2018-10-02 19:49:37 +00:00
namespace Platform.Dialogflow.Controllers
{
#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
}