private object[] GetDashboardListModel(Dashboard[] allDashboards, Guid? activeId = null)
        {
            var model = allDashboards
                    .Select(x => (object)new
                    {
                        id = x.Id,
                        title = x.Title,
                        sortOrder = x.SortOrder,
                        active = activeId == x.Id
                    })
                    .ToArray();

            return model;
        }