diff --git a/src/Articulate/Services/ArticulateTagService.cs b/src/Articulate/Services/ArticulateTagService.cs index 4f3a957..6a0be17 100644 --- a/src/Articulate/Services/ArticulateTagService.cs +++ b/src/Articulate/Services/ArticulateTagService.cs @@ -64,5 +64,14 @@ public PostsByTagModel GetContentByTag( pageSize); } } + + public IEnumerable GetAllCategories( + IMasterModel masterModel) + { + using (ScopeProvider.CreateCoreScope(autoComplete: true)) + { + return _repository.GetAllCategories(masterModel); + } + } } }