Skip to content

Commit 23a6d36

Browse files
committed
TD_5388 Making changes to the User Centre Details as per team suggestion after discussion.
1 parent 74fb644 commit 23a6d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Services/DelegateApprovalsService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void RejectDelegate(int delegateId, int centreId)
127127
else
128128
{
129129
userDataService.RemoveDelegateAccount(delegateId);
130-
userDataService.DeleteUser(delegateEntity.UserAccount.Id);
130+
userDataService.DeleteUserCentreDetail(delegateEntity.UserAccount.Id, centreId);
131131
}
132132

133133
SendRejectionEmail(delegateEntity);

0 commit comments

Comments
 (0)