Skip to content

Update itagquery.md #7059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
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