[HttpGet("{id}", Name = "GetPhotoSupplier")]  //11-5
        public async Task <IActionResult> GetPhoto(int id)
        {
            var photoFromRepository = await _repo.GetPhotoForSupplier(id);

            var photo = _mapper.Map <PhotoForReturnDto>(photoFromRepository);

            return(Ok(photo));
        }