Compare commits
2 Commits
1f91bee61d
...
d06433e2f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d06433e2f6 | ||
|
|
0914753c0a |
@@ -15,7 +15,7 @@ public class PagerTagHelper : TagHelper
|
||||
private readonly IUrlHelperFactory urlHelperFactory;
|
||||
private readonly PagingSettings pagingSettings;
|
||||
|
||||
public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptions<PagingSettings> pagingSettings)
|
||||
public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptionsSnapshot<PagingSettings> pagingSettings)
|
||||
{
|
||||
this.urlHelperFactory = urlHelperFactory;
|
||||
this.pagingSettings = pagingSettings.Value;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<td class="text-center">@person.FirstNameTranscription</td>
|
||||
<td class="text-left">@person.LastNameTranscription</td>
|
||||
<td class="text-center">@person.OriginalName</td>
|
||||
<td class="text-center">@person.BirthDate.ToString("yyy-MM-dd")</td>
|
||||
<td class="text-center">@person.BirthDate.ToString("yyyy-MM-dd")</td>
|
||||
<td class="text-center">@person.CountryName</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user