/// <summary> /// Initializes a new instance of the <see cref="ContentTypesService"/> class. /// </summary> /// <param name="contentService">The content service.</param> /// <param name="contentTypeService">The content type service.</param> public ContentTypesService(IUmbracoContentService contentService, IUmbracoContentTypeService contentTypeService) { _contentService = contentService; _contentTypeService = contentTypeService; }
/// <summary> /// Initializes a new instance of the <see cref="ContentTypesService"/> class. /// </summary> public ContentTypesService() { _contentService = new UmbracoContentServiceWrapper(); _contentTypeService = new UmbracoContentTypeServiceWrapper(); }