public IReadOnlyList <PublisherDto> GetAllPublishers()
        {
            var publisherDtos = new List <PublisherDto>();

            var publishers = _publisherRepository.FindAll();

            publishers.ToList().ForEach((cp) =>
            {
                var pubDto = PublisherMapping.MapToPublisherDto(cp);
                publisherDtos.Add(pubDto);
            });

            return(publisherDtos);
        }
        public PublisherDto GetPublisherById(Guid Id)
        {
            var publisher = _publisherRepository.FindBy(Id);

            return(PublisherMapping.MapToPublisherDto(publisher));
        }