Пример #1
0
        /// <summary>
        /// Command for removing author from the selected author list
        /// </summary>
        public void RemoveAuthorExecute()
        {
            ViewAuthor author = SelectedCurrentAuthor;

            SelectedAuthorList.Remove(author);
            PossibleAuthorsList.Add(author);
        }
Пример #2
0
        /// <summary>
        /// Command for adding author to the selected author list
        /// </summary>
        public void AddAuthorExecute()
        {
            ViewAuthor author = SelectedPossibleAuthor;

            PossibleAuthorsList.Remove(author);
            SelectedAuthorList.Add(author);
        }