Beispiel #1
0
 private Trello()
 {
     boards = new List <Board>();
     if (File.Exists(@"./datas.json"))
     {
         boards = Json.Deserializer(boards, @"./datas.json");
     }
     boardService = new BoardService();
     rowService   = new RowService();
     taskService  = new TaskService();
     boardService.getBoards().AddRange(boards);
     foreach (var item in boards)
     {
         rowService.getRows().AddRange(item.getRows());
     }
 }
Beispiel #2
0
 public List <Row> getAllRows()
 {
     return(rowService.getRows());
 }