View Source
Class AllSegmentController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class AllSegmentController : SegmentControllerBase
Constructors
View Source
AllSegmentController(ISegmentService, IUmbracoMapper)
Declaration
public AllSegmentController(ISegmentService segmentService, IUmbracoMapper umbracoMapper)
Parameters
Type |
Name |
Description |
ISegmentService |
segmentService |
|
IUmbracoMapper |
umbracoMapper |
|
Methods
View Source
GetAll(CancellationToken, Int32, Int32)
Declaration
public async Task<IActionResult> GetAll(CancellationToken cancellationToken, int skip = 0, int take = 100)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
System.Int32 |
skip |
|
System.Int32 |
take |
|
Returns
Type |
Description |
Task<IActionResult> |
|