public async Task <IActionResult> AddToMovieAsync(string movieId, [FromBody] List <string> castMemberIds)
        {
            if (!await repository.CheckAllExists(castMemberIds))
            {
                return(BadRequest("Not All Cast members Exists"));
            }

            var result = await movieRepository.AddCastMembersAsync(movieId, castMemberIds);

            return(result.Ok ? (IActionResult)Ok(result) : BadRequest(result.Message));
        }