Gets auto-routing back office api controllers working, lots of notes

This commit is contained in:
Shannon
2020-05-14 17:04:16 +10:00
parent 64b78676da
commit e3591923c3
23 changed files with 225 additions and 122 deletions

View File

@@ -14,8 +14,8 @@ namespace Umbraco.Web.Common.Controllers
/// <para>These controllers are NOT auto-routed.</para>
/// <para>The base class is <see cref="ControllerBase"/> which are netcore API controllers without any view support</para>
/// </remarks>
[FeatureAuthorize]
[TypeFilter(typeof(HttpResponseExceptionFilter))]
[FeatureAuthorize] // TODO: This could be part of our conventions
[TypeFilter(typeof(HttpResponseExceptionFilter))] // TODO: This could be part of our conventions
[UmbracoApiController]
public abstract class UmbracoApiControllerBase : ControllerBase, IUmbracoFeature
{