@model StockMaster.Models.User @{ ViewData["Title"] = "Edit User"; }

Edit User

User Information
@if (!ViewData.ModelState.IsValid) {
Please correct the following errors:
}
Only fill this if you want to change the password.
Cancel
User Details
  • User ID @Model.UserId
  • Created Date @Model.CreatedAt.ToString("dd.MM.yyyy HH:mm")
  • Current Status @if (Model.IsActive) { Active } else { Inactive }
Warning

Changing the Role will immediately affect the user's permissions in the system.

If you deactive a user, they will not be able to login to the system.

@section Scripts { @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } }