Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }