public void RemoveParticipantFromRide(AppUserId participantId) { var stop = Stops.SingleOrDefault(x => x.ParticipantId == participantId); if (stop == default) { throw new Exception("User does not exists in this ride"); } Stops.Remove(stop); }