Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions 13/umbraco-cms/reference/querying/itagquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public class TagApiController : UmbracoApiController
`ITagQuery` is a scoped service, meaning that it should only be injected into scoped or transient services. For more information see the official [Microsoft Documentation](https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection#scoped)
{% endhint %}


{% hint style="info" %}
For multi lingual sites, the desired language must be provided when using `ITagQuery`
{% endhint %}

## Examples

All examples are from a view using the injection shown above, but working with tags in controllers will be the same.
Expand Down