/// <summary> /// Ändert den Status der Teilnahme. /// </summary> /// <param name="participationState"></param> public virtual void UpdateStatus(PeanutParticipationState participationState, EntityChangedDto entityChanged) { Require.NotNull(entityChanged, "entityChanged"); _participationState = participationState; Update(entityChanged); }
public PeanutParticipationDto(PeanutParticipationType participationType, PeanutParticipationState participationState) { ParticipationType = participationType; ParticipationState = participationState; }
private void Update(PeanutParticipationDto participationDto) { _participationType = participationDto.ParticipationType; _participationState = participationDto.ParticipationState; }