Ejemplo n.º 1
0
        public void ShowValues()
        {
            ActionDataType card  = GetActionData(action.data.card);
            ActionDataType list  = GetActionData(action.data.list);
            ActionDataType board = GetActionData(action.data.board);

            Console.WriteLine("\nDATA\n");
            Console.WriteLine($"-=-=-= CARD =-=-=-\nid: {card.id}\nname: {card.name}\nshortLink: {card.shortLink}\nidShort: {card.idShort}");
            Console.WriteLine($"-=-=-= LIST =-=-=-\nid: {list.id}\nname: {list.name}\nshortLink: {list.shortLink}\nidShort: {list.idShort}");
            Console.WriteLine($"-=-=-= BOARD =-=-=-\nid: {board.id}\nname: {board.name}\nshortLink: {board.shortLink}\nidShort: {board.idShort}");
            Console.WriteLine("\n");
        }
Ejemplo n.º 2
0
 public ActionDataType GetActionData(ActionDataType data)
 => data != null ? data : new ActionDataType();