public async Task <ActionResult <ActorModel[]> > SearchActorNames(string value)
        {
            try
            {
                var results = await _actorRepository.GetActorsByNameSearchValue(value);

                if (!results.Any())
                {
                    return(NotFound($"No actors found containing {value} in their name."));
                }

                return(Ok(_mapper.Map <ActorModel[]>(results)));
            }
            catch (Exception ex)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, ex.Message));
            }
        }