public DashboardModel(long accountId)
        {
            SetBaseViewModel(accountId);
            FirstColumn  = new List <ListTable>();
            SecondColumn = new List <ListTable>();

            FirstColumn.Add(new ListTable(accountId, true));

            var sharedAccountIds = WishlistRepository.GetSharedAccountIds(accountId);

            foreach (var sharedAccountId in sharedAccountIds)
            {
                if (FirstColumn.Sum(c => c.TableItems.Count) > SecondColumn.Sum(c => c.TableItems.Count))
                {
                    SecondColumn.Add(new ListTable(sharedAccountId, false));
                }
                else
                {
                    FirstColumn.Add(new ListTable(sharedAccountId, false));
                }
            }

            //Change this to next holiday
            //Currently set to Christmas as default
            DaysTillNextHoliday = GetDaysTill(new DateTime(DateTime.Today.Year, 12, 25));
            NextHoliday         = "Christmas";
        }
        public SharedListsViewModel(long accountId)
        {
            SharedWishLists = new List <SharedWishList>();
            ColumnNames     = new List <string> {
                "Name", "Description"
            };
            var sharedAccountIds = WishlistRepository.GetSharedAccountIds(accountId);

            foreach (var sharedAccountId in sharedAccountIds)
            {
                SharedWishLists.Add(new SharedWishList(sharedAccountId));
            }

            SetBaseViewModel(accountId);
        }