From d398cf2827171e055865c1926139308b9255bb5c Mon Sep 17 00:00:00 2001 From: Nobir Date: Thu, 21 Jul 2022 09:31:51 +0600 Subject: [PATCH] [Fixed] route id must small latter cause the default is 'id' --- Views/Admin/ViewUnverifiedUsers.cshtml | 6 +++--- Views/Admin/ViewVerifiedUsers.cshtml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Views/Admin/ViewUnverifiedUsers.cshtml b/Views/Admin/ViewUnverifiedUsers.cshtml index fe966ef..8136b9b 100644 --- a/Views/Admin/ViewUnverifiedUsers.cshtml +++ b/Views/Admin/ViewUnverifiedUsers.cshtml @@ -68,9 +68,9 @@ {@(permission.Name.ToString() + ", ")} - @Html.ActionLink("Verify", "VerifyUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" }) - @Html.ActionLink("Edit", "EditUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" }) - @Html.ActionLink("Delete", "DeleteUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" }) + @Html.ActionLink("Verify", "VerifyUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" }) + @Html.ActionLink("Edit", "EditUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" }) + @Html.ActionLink("Delete", "DeleteUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" }) } diff --git a/Views/Admin/ViewVerifiedUsers.cshtml b/Views/Admin/ViewVerifiedUsers.cshtml index c4c52d2..eda6249 100644 --- a/Views/Admin/ViewVerifiedUsers.cshtml +++ b/Views/Admin/ViewVerifiedUsers.cshtml @@ -68,9 +68,9 @@ {@(permission.Name.ToString() + ", ")} - @Html.ActionLink("Edit", "EditUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-primary" }) - @Html.ActionLink("Delete", "DeleteUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" }) - @Html.ActionLink("Unverify", "UnverifyUser", "Admin", new { Id = user.Id }, new { @class = "btn btn-danger" }) + @Html.ActionLink("Edit", "EditUser", "Admin", new { id = user.Id }, new { @class = "btn btn-primary" }) + @Html.ActionLink("Delete", "DeleteUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger delete-btn", @id = "delete-btn" }) + @Html.ActionLink("Unverify", "UnverifyUser", "Admin", new { id = user.Id }, new { @class = "btn btn-danger" }) }