Hello everyone this is my code .How to set here pagination
@foreach (var blogPost in Model.Items)
{
if (counter != 0 && counter % 3 == 0)
{
@:
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Satya KarkiRank #78 · 24.6K reputationPosted Apr 8, 2021, 8:46 AM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Apr 8, 2021, 8:45 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Apr 8, 2021, 6:12 AM EDT