protected bool Equals(MoveCardAction other) { return(string.Equals(_cardId, other._cardId) && _date.Equals(other._date) && string.Equals(_fromListId, other._fromListId) && string.Equals(_toListId, other._toListId)); }
public CardId(MoveCardAction action) : this(action.MoveAction.Data.Card) { LastAction = action.MoveAction; }