BotSharp/BotSharp.Platform.Dialogflow/Controllers/EntitiesController.cs
2018-10-28 21:16:55 -05:00

24 lines
671 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using BotSharp.Platform.Dialogflow.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Platform.Dialogflow.Controllers
{
/// <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>();
}
}
}