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()); } }
public List <Row> getAllRows() { return(rowService.getRows()); }