ContentService
using Umbraco.Cms.Core.Services;@using Umbraco.Cms.Core.ServicesGetting the service
public class MyClass
{
private IContentService _contentService;
public MyClass(IContentService contentService)
{
_contentService = contentService;
}
}Last updated
Was this helpful?