From 0914753c0aa9d77d91d3c89ec862f460416ca35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Mila=C5=A1inovi=C4=87?= Date: Tue, 28 Apr 2026 00:44:18 +0200 Subject: [PATCH] IOptionsSnapshot instead of IOptions --- MVC-SimpleCRUD/MVC-SimpleCRUD/Util/TagHelpers/PagerTagHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVC-SimpleCRUD/MVC-SimpleCRUD/Util/TagHelpers/PagerTagHelper.cs b/MVC-SimpleCRUD/MVC-SimpleCRUD/Util/TagHelpers/PagerTagHelper.cs index 3a51c40..2075e42 100644 --- a/MVC-SimpleCRUD/MVC-SimpleCRUD/Util/TagHelpers/PagerTagHelper.cs +++ b/MVC-SimpleCRUD/MVC-SimpleCRUD/Util/TagHelpers/PagerTagHelper.cs @@ -15,7 +15,7 @@ public class PagerTagHelper : TagHelper private readonly IUrlHelperFactory urlHelperFactory; private readonly PagingSettings pagingSettings; - public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptions pagingSettings) + public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptionsSnapshot pagingSettings) { this.urlHelperFactory = urlHelperFactory; this.pagingSettings = pagingSettings.Value;