public IActionResult AddMovieToActor(int movieId, int actorId) { try { _moviesService.AddMovieToActor(movieId, actorId); return(Ok()); } catch { return(NotFound()); } }
public IActionResult AddMovieToActor(int movieId, int actorId) { try { _moviesService.AddMovieToActor(movieId, actorId); return(Ok()); } catch { return(NotFound()); } }