#if NETCOREAPP
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
#else
using System.Web.Http;
using DotNetNuke.Web.Api;
#endif
[AllowAnonymous]
[ValidateAntiForgeryToken]
public class VerifiedController : Custom.Hybrid.Api14
{
[HttpGet]
public string Hello()
{
return "Hello from the controller with ValidateAntiForgeryToken in /api";
}
}