private RelatedItem GetRelatedItem(int index)
        {
            if (this.relatedItems == null)
            {
                RelatedItemDataRepository repo = new RelatedItemDataRepository();
                this.relatedItems = repo.GetItemsForEdit();
            }

            return(this.relatedItems[index]);
        }
        private RelatedItem GetRelatedItem(int index)
        {
            if (this.relatedItems == null)
            {
                RelatedItemDataRepository repo = new RelatedItemDataRepository();
                this.relatedItems = repo.GetItemsForEdit();
            }

            return this.relatedItems[index];
        }