public BookCollectionViewModel()
        {
            save    = new Command.RelayCommand(this.SaveFile, this.SyncAllowed);
            load    = new Command.RelayCommand(this.LoadFile, this.SyncAllowed);
            newBook = new Command.RelayCommand(this.CreateNewBook, this.SyncAllowed);
            delete  = new Command.DeleteCommand(this.DeleteItem);

            CollectionChanged += ViewModelCollectionChanged;
            DAL.Register.Instance.bc.CollectionChanged += ModelCollectionChanged;
            FetchFromModels();
        }
 public CreateNewBookViewModel()
 {
     newBook = new Command.RelayCommand(SaveNewBook, SyncAllowed);
 }