BotSharp/BotSharp.RestApi/Ontology/EntityController.cs

24 lines
592 B
C#
Raw Normal View History

2018-08-11 18:17:15 +00:00
using BotSharp.Core.Engines;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.RestApi.Ontology
{
[Route("v1/[controller]/[action]")]
public class EntityController : ControllerBase
{
private readonly IBotPlatform _platform;
/// <summary>
/// Initialize dialog controller and get a platform instance
/// </summary>
/// <param name="platform"></param>
public EntityController(IBotPlatform platform)
{
_platform = platform;
}
}
}