public async Task <IActionResult> GetMediaById(int id)
        {
            if (id > 0)
            {
                var media = await _mediaRepo.GetMediaByIdAsync(id);

                return(Ok(_mapper.Map <MediaDto>(media)));
            }
            return(NotFound("This is not a valid id"));
        }