public void EditCatalogue(SearchBookResultDTO dto)
        {
            Saved = false;
            EditCatalogueForm editCatalogueForm = new EditCatalogueForm(this, dto.ISBN);
            editCatalogueForm.ShowDialog();

            if (Saved)
            {
                dto.ISBN = ReturnCatalogue.ISBN;
                dto.Title = ReturnCatalogue.Title;
                dto.ShortDescription = ReturnCatalogue.ShortDescription;
                dto.AuthorName = ReturnCatalogue.Authors;
                dto.CategoryName = ReturnCatalogue.Category.CategoryName;
                dto.PublisherName = ReturnCatalogue.Publisher.PublisherName;
                dto.Image = ReturnCatalogue.Image;
            }
        }
        public void AddCatalogue()
        {
            Saved = false;
            EditCatalogueForm editCatalogueForm = new EditCatalogueForm(this);
            editCatalogueForm.ShowDialog();

            if (Saved)
            {
                lst.Add(new SearchBookResultDTO()
                            {
                                ISBN = ReturnCatalogue.ISBN,
                                AuthorName = ReturnCatalogue.Authors,
                                CategoryName = ReturnCatalogue.Category.CategoryName,
                                Image = ReturnCatalogue.Image,
                                PublisherName = ReturnCatalogue.Publisher.PublisherName,
                                Title = ReturnCatalogue.Title
                            });
            }
        }