Class MemberTypeQueryController
An API controller used for dealing with member types
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Namespace: Umbraco.Cms.Web.BackOffice.Controllers
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[PluginController("UmbracoApi")]
[Authorize(Policy = "TreeAccessMembersOrMemberTypes")]
public class MemberTypeQueryController : BackOfficeNotificationsController, IUmbracoFeature, IDiscoverable
Constructors
View SourceMemberTypeQueryController(IMemberTypeService, IUmbracoMapper)
Declaration
public MemberTypeQueryController(IMemberTypeService memberTypeService, IUmbracoMapper umbracoMapper)
Parameters
Type | Name | Description |
---|---|---|
IMemberTypeService | memberTypeService | |
IUmbracoMapper | umbracoMapper |
Methods
View SourceGetAllTypes()
Returns all member types
Declaration
public IEnumerable<ContentTypeBasic> GetAllTypes()
Returns
Type | Description |
---|---|
IEnumerable<ContentTypeBasic> |