This commit is contained in:
parent 066eae705e
commit 30faefcee2

View File

@ -51,11 +51,11 @@
</tbody> </tbody>
</table> </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> </a>
<p>Страница @ViewBag.Page</p> <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> </a>
} }