#if NETCOREAPP
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
#else
using System.Web.Http;
using DotNetNuke.Web.Api;
#endif
[AllowAnonymous]
[ValidateAntiForgeryToken]
public class DemoController : Custom.Hybrid.Api14
{
[HttpGet]
public string Hello()
{
return "Hello from the staging controller - we're still developing this, so you may see errors. Once it's tested, we'll copy this to /live/api/ so the public users will see this too.";
}
}