Class TourController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Namespace: Umbraco.Cms.Web.BackOffice.Controllers
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[PluginController("UmbracoApi")]
public class TourController : UmbracoAuthorizedJsonController, IUmbracoFeature, IDiscoverable
Constructors
View SourceTourController(TourFilterCollection, IHostingEnvironment, IOptionsSnapshot<TourSettings>, IBackOfficeSecurityAccessor, IContentTypeService)
Declaration
public TourController(TourFilterCollection filters, IHostingEnvironment hostingEnvironment, IOptionsSnapshot<TourSettings> tourSettings, IBackOfficeSecurityAccessor backofficeSecurityAccessor, IContentTypeService contentTypeService)
Parameters
Type | Name | Description |
---|---|---|
Tour |
filters | |
IHosting |
hostingEnvironment | |
Microsoft. |
tourSettings | |
IBack |
backofficeSecurityAccessor | |
IContent |
contentTypeService |
Methods
View SourceGetTours()
Declaration
public async Task<IEnumerable<BackOfficeTourFile>> GetTours()
Returns
Type | Description |
---|---|
Task<IEnumerable<Back |
GetToursForDoctype(String)
Gets a tours for a specific doctype
Declaration
public async Task<IEnumerable<BackOfficeTour>> GetToursForDoctype(string doctypeAlias)
Parameters
Type | Name | Description |
---|---|---|
System. |
doctypeAlias | The documenttype alias |
Returns
Type | Description |
---|---|
Task<IEnumerable<Back |