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
[Authorize(Policy = "TreeAccessMembersOrMemberTypes")]
public class MemberTypeQueryController : BackOfficeNotificationsController
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> |