public async Task <IActionResult> AddMedia([FromBody] MediaDto media)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }
            var isMediaAdded = await _mediaRepo.AddMediaAsync(_mapper.Map <Media>(media));

            if (isMediaAdded)
            {
                return(CreatedAtRoute("GetMediaById", new { id = media.MediaId }, _mapper.Map <MediaDto>(media)));
            }
            return(StatusCode(500, "Unable to Add Media at this time, please try later"));
        }