diff --git a/Olive.Mvc.Microservices/Navigation/Board/BoardBox.cs b/Olive.Mvc.Microservices/Navigation/Board/BoardBox.cs index 8b9ca6afe..d4a6619b5 100644 --- a/Olive.Mvc.Microservices/Navigation/Board/BoardBox.cs +++ b/Olive.Mvc.Microservices/Navigation/Board/BoardBox.cs @@ -26,12 +26,18 @@ public class BoardBox /// internal string Title { get; set; } + /// + /// The count of columns of the box + /// + internal int ColumnsCount { get; set; } + public void Add(Action action) => action(this); BoardBoxContent Add(BoardBoxContent content) { content.BoxColour = Colour; content.BoxTitle = Title; + content.BoxColumnsCount = ColumnsCount; Navigation.BoardContents.Add(content); return content; } diff --git a/Olive.Mvc.Microservices/Navigation/Board/BoardBoxContent.cs b/Olive.Mvc.Microservices/Navigation/Board/BoardBoxContent.cs index 69a5e8bda..904f2d6eb 100644 --- a/Olive.Mvc.Microservices/Navigation/Board/BoardBoxContent.cs +++ b/Olive.Mvc.Microservices/Navigation/Board/BoardBoxContent.cs @@ -16,5 +16,10 @@ public class BoardBoxContent /// Type of the item /// public string BoxTitle { get; set; } + + /// + /// The count of columns of the box + /// + internal int BoxColumnsCount { get; set; } } } \ No newline at end of file