Example #1
0
        public Image GetByGetThumbnailByIdId(Guid id)
        {
            if (id == Guid.Empty)
            {
                return(null);
            }

            var item = _imageRepository.GetById(id);

            var metadata = _metadataRepository.GetByThumbnailId(id);

            item.MimeType = metadata.MimeType;
            item.FileName = metadata.FileName;


            return(item);
        }