Esempio n. 1
0
 public static ListShow Convert(BoardList bl, bool isEditable)
 {
     return new ListShow
     {
         IsEditable = isEditable,
         Id = bl.Id,
         Name = bl.Name,
         Cards = bl.Cards.Select(card => Convert(card,isEditable))
     };
 }
Esempio n. 2
0
 public void AddList(int id, string listName)
 {
     BoardList toAdd = new BoardList(id, listName);
     toAdd.Cards = new IndexedList<BoardCard>();
     Lists.AddToTail(toAdd);
 }