diff --git a/src/Domain/Entities/Participants/Participant.cs b/src/Domain/Entities/Participants/Participant.cs index 92b74fe7..fe957fe3 100644 --- a/src/Domain/Entities/Participants/Participant.cs +++ b/src/Domain/Entities/Participants/Participant.cs @@ -133,15 +133,8 @@ public Participant TransitionTo(EnrolmentStatus to) public Participant SetEnrolmentLocation(int locationId, string? justificationReason) { EnrolmentLocationJustification = justificationReason; - if (CurrentLocation.Id == locationId) - { - EnrolmentLocation = null; - _enrolmentLocationId = null; - } - else - { - _enrolmentLocationId = locationId; - } + _enrolmentLocationId = locationId; + return this; }