/// <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));
 }
Ejemplo n.º 2
0
 /// <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));
 }