Beispiel #1
0
        public void Handle(UpdateDelegateCommand command)
        {
            var sessionDelegate = delegateRepository.Find(command.SessionDelegateId);

            sessionDelegate.Update(command);
            delegateRepository.Update(sessionDelegate);
            delegateRepository.Save();
        }
Beispiel #2
0
        public void UpdateDelegate(DelegateData delegateData)
        {
            var sessionDelegate = delegateRepository.Find(delegateData.SessionDelegateId);

            sessionDelegate.Update(delegateData);
            delegateRepository.Update(sessionDelegate);
            delegateRepository.Save();
        }