Esempio n. 1
0
        /// <summary>
        /// Deletes the user.
        /// </summary>
        public void RestoreUser()
        {
            this.IsNew     = false;
            this.IsDeleted = false;

            var @event = new UserRestored(this.Id);

            this.ApplyChange(@event);
        }
Esempio n. 2
0
 private void Apply(UserRestored @event)
 {
     //TODO: Investigate why we need this.
 }