PIbd-21_MasenkinMS_LabWork07_Hard #14

Closed
Factorino73 wants to merge 6 commits from LabWork07_Hard into LabWork06_Hard
Showing only changes of commit 30faefcee2 - Show all commits

View File

@ -51,11 +51,11 @@
</tbody>
</table>
<a href="@Url.Action("Mails", new { page = ViewBag.Page - 1 > 1 ? ViewBag.Page - 1 : 1 }) class="btn btn-primary">
<a href="@Url.Action("Mails", new { page = ViewBag.Page - 1 >= 1 ? ViewBag.Page - 1 : 1 })" class="btn btn-primary">
Назад
</a>
<p>Страница @ViewBag.Page</p>
<a href="@Url.Action("Mails", new { page = ViewBag.Page + 1 }) class="btn btn-primary">
<a href="@Url.Action("Mails", new { page = ViewBag.Page + 1 })" class="btn btn-primary">
Вперед
</a>
}