/// <summary> /// Save <see cref="bookList"> in storage. /// </summary> /// <param name="storage">Storage.</param> /// <exception cref="ArgumentNullException"> /// Throws when <see cref="storage"> is null. /// </exception> public void Save(IBookListStorage storage) { if (storage == null) { throw new ArgumentNullException(nameof(storage)); } storage.SaveBookList(bookList); }