public IEnumerable <BoardDTO> GetAll(string userId) { var boardsModel = db_.getBoardsByUser(userId).ToList(); return(boardsModel.Select(b => new BoardDTO(b.Id.ToString(), b.BoardName, b.Starred, b.Color, b.OrderNo)).ToList()); }