Skip to content

Commit 4210151

Browse files
TD-4383 Resolving clicking deactivate account showing 404 error
1 parent 5c56306 commit 4210151

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace DigitalLearningSolutions.Web.Controllers.TrackingSystem.Delegates
44
{
55
using System.Collections.Generic;
6-
using System.Globalization;
76
using System.Linq;
87
using DigitalLearningSolutions.Data.Enums;
98
using DigitalLearningSolutions.Data.Models.User;

DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/ViewDelegate/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
}
151151
else
152152
{
153-
<form asp-action="DeactivateDelegate" asp-route-asp-route-delegateId="@Model.DelegateInfo.Id">
153+
<form asp-action="DeactivateDelegate" asp-route-delegateId="@Model.DelegateInfo.Id">
154154
<button class="nhsuk-button delete-button view-delegate-button"
155155
type="submit">
156156
Deactivate account

0 commit comments

Comments
 (0)