/// <summary> /// Handles the specified action. /// </summary> /// <param name="action">The action.</param> /// <returns></returns> public User Handle(SetDoNotEmailForUser action) { return(_changer.Change(action.ActionAgainst.Id, true)); }
/// <summary> /// Handles the specified action. /// </summary> /// <param name="action">The action.</param> /// <returns></returns> public User Handle(RemoveDoNotEmailForUser action) { return(_changer.Change(action.ActionAgainst.Id, false)); }