BotSharp/BotSharp.RestApi/Dialogflow/EntitiesController.cs

25 lines
633 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.RestApi.Dialogflow
{
#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
}