2020-05-22 07:26:46 +02:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using Umbraco.Web.WebApi.Filters;
|
|
|
|
|
|
|
2020-06-03 17:17:30 +02:00
|
|
|
|
namespace Umbraco.Web.BackOffice.Controllers
|
2020-05-22 07:26:46 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// An abstract controller that automatically checks if any request is a non-GET and if the
|
|
|
|
|
|
/// resulting message is INotificationModel in which case it will append any Event Messages
|
|
|
|
|
|
/// currently in the request.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[TypeFilter(typeof(AppendCurrentEventMessagesAttribute))]
|
|
|
|
|
|
public abstract class BackOfficeNotificationsController : UmbracoAuthorizedJsonController
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|