public void SetDefault() { var senders = _factory.ActionList().Execute(); foreach (var sender in senders.List) { if ("ACTIVE".Equals(sender.Status) && !"Test".Equals(sender.Name)) { _factory.ActionSetDefault(sender.Name).Execute(); } } }
public void SetDefault() { var senders = _factory.ActionList().Execute(); foreach (var sender in senders.List) { if ("ACTIVE".Equals(sender.Status) && !"Test".Equals(sender.Name)) { _factory.ActionSetDefault(sender.Name).Execute(); } } }