public void LoadData()
 {
     try
     {
         foreach (KeyValuePair <string, BoardDTO> board in boardCont.LoadBoards())
         {
             int    size = columnCont.Count(board.Value.Email);
             BoardB temp = new BoardB(board.Value.Email, size, board.Value.TaskCounter);
             boards.Add(temp.Email, temp);
         }
         foreach (ColumnDTO col in columnCont.LoadColumns())
         {
             ColumnB col2 = new ColumnB(col.ColumnName, col.Id, col.Limit, col.TaskCounter);
             boards[col.Email].Columns[col.Id] = col2;
         }
         foreach (TaskDTO task in taskCont.LoadTasks())
         {
             TaskB temp = new TaskB(task.Email, task.Id, task.Title, task.CreationDate, task.DueDate, task.Body, task.BoardMail);
             boards[task.Email].Columns[task.ColumnId].Tasks.Add(temp.Id, temp);
         }
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
        public void AddBoard(string email)
        {
            email = email.ToLower();
            BoardB newb = new BoardB(email);

            boards.Add(email, newb);
            BoardDTO b = new BoardDTO(email, 0);

            boardCont.Insert(b);
        }