Exemplo n.º 1
0
        public IHttpActionResult CreateMovieList(MovieListAddDTO movieListDTO)
        {
            MovieList movieList = MovieListAddDTO.ToMovieList(movieListDTO);

            _createMovieListCommand.Execute(movieList);
            return(Ok());
        }
Exemplo n.º 2
0
        public IHttpActionResult EditMovieList(MovieListAddDTO changedMovieList)
        {
            MovieList movieList = MovieListAddDTO.ToMovieList(changedMovieList);

            _editMovieListCommand.Execute(movieList);

            return(Ok());
        }