public async Task <ActionResult <Meme> > GetMeme(int id)
        {
            try
            {
                var meme = await _memeService.GetMemeByIdAsync(id);

                var memeDto = _mapper.Map <MemeDto>(meme);
                return(Ok(memeDto));
            }
            catch (AppException ex)
            {
                // return error message if there was an exception
                return(BadRequest(new { message = ex.Message }));
            }
        }