using Umbraco.Cms.Web.BackOffice.Filters; namespace Umbraco.Cms.Web.BackOffice.Controllers; /// /// An abstract API controller that only supports JSON and all requests must contain the correct csrf header /// /// /// Inheriting from this controller means that ALL of your methods are JSON methods that are called by Angular, /// methods that are not called by Angular or don't contain a valid csrf header will NOT work. /// [ValidateAngularAntiForgeryToken] public abstract class UmbracoAuthorizedJsonController : UmbracoAuthorizedApiController { }