* Applying [ApiController] to ManagementApiControllerBase and the rest derive it from it
* Removing [ApiController] from deriving controllers
* Removing [ApiVersion("1.0")] from controller base
* Cleanup
* [ApiController] from deriving DeliveryApiControllerBase controller
15 lines
553 B
C#
15 lines
553 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Umbraco.Cms.Api.Management.Routing;
|
|
using Umbraco.Cms.Core;
|
|
using Umbraco.Cms.Web.Common.Authorization;
|
|
|
|
namespace Umbraco.Cms.Api.Management.Controllers.MemberGroup.Item;
|
|
|
|
[VersionedApiBackOfficeRoute($"{Constants.Web.RoutePath.Item}/{Constants.UdiEntityType.MemberGroup}")]
|
|
[ApiExplorerSettings(GroupName = "Member Group")]
|
|
[Authorize(Policy = AuthorizationPolicies.TreeAccessMemberGroups)]
|
|
public class MemberGroupItemControllerBase : ManagementApiControllerBase
|
|
{
|
|
}
|