Moved BackOfficeNotificationsController to netcore

This commit is contained in:
Bjarke Berg
2020-05-22 07:26:46 +02:00
parent b5df81fca2
commit e4c8e2009c
4 changed files with 36 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
using Microsoft.AspNetCore.Mvc;
using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Editors
{
/// <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
{
}
}