public async Task <ActionResult <PhotosDto> > Get(int photoId)
        {
            try
            {
                var result = await _eventRepository.GetPhoto(photoId);

                if (result == null)
                {
                    return(NotFound());
                }

                var mappedEntity = _mapper.Map <PhotosDto>(result);
                return(Ok(mappedEntity));
            }
            catch (Exception)
            {
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Database Failure"));
            }
        }