public async Task<IActionResult> GetPhoto(int id){
            var photoFromRepo = await _repo.GetPhoto(id);

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

            return Ok(photo);
        }
        public async Task <IActionResult> GetPhoto(int photoid)
        {
            var photoFromDB = await _datingrepo.GetPhoto(photoid);

            var photo = _mapper.Map <PhotoDto>(photoFromDB);

            return(Ok(photo));
        }