public bool InsertMovie(Movies.Desktop.MoviesServiceReference.Movie movie) { Movies.Desktop.MoviesServiceReference.InsertMovieRequest inValue = new Movies.Desktop.MoviesServiceReference.InsertMovieRequest(); inValue.Body = new Movies.Desktop.MoviesServiceReference.InsertMovieRequestBody(); inValue.Body.movie = movie; Movies.Desktop.MoviesServiceReference.InsertMovieResponse retVal = ((Movies.Desktop.MoviesServiceReference.MoviesServiceSoap)(this)).InsertMovie(inValue); return(retVal.Body.InsertMovieResult); }
public bool UpdateMovie(int id, Movies.Desktop.MoviesServiceReference.Movie movie) { Movies.Desktop.MoviesServiceReference.UpdateMovieRequest inValue = new Movies.Desktop.MoviesServiceReference.UpdateMovieRequest(); inValue.Body = new Movies.Desktop.MoviesServiceReference.UpdateMovieRequestBody(); inValue.Body.id = id; inValue.Body.movie = movie; Movies.Desktop.MoviesServiceReference.UpdateMovieResponse retVal = ((Movies.Desktop.MoviesServiceReference.MoviesServiceSoap)(this)).UpdateMovie(inValue); return(retVal.Body.UpdateMovieResult); }
public System.Threading.Tasks.Task <Movies.Desktop.MoviesServiceReference.UpdateMovieResponse> UpdateMovieAsync(int id, Movies.Desktop.MoviesServiceReference.Movie movie) { Movies.Desktop.MoviesServiceReference.UpdateMovieRequest inValue = new Movies.Desktop.MoviesServiceReference.UpdateMovieRequest(); inValue.Body = new Movies.Desktop.MoviesServiceReference.UpdateMovieRequestBody(); inValue.Body.id = id; inValue.Body.movie = movie; return(((Movies.Desktop.MoviesServiceReference.MoviesServiceSoap)(this)).UpdateMovieAsync(inValue)); }
public UpdateMovieRequestBody(int id, Movies.Desktop.MoviesServiceReference.Movie movie) { this.id = id; this.movie = movie; }
public InsertMovieRequestBody(Movies.Desktop.MoviesServiceReference.Movie movie) { this.movie = movie; }
public GetMovieResponseBody(Movies.Desktop.MoviesServiceReference.Movie GetMovieResult) { this.GetMovieResult = GetMovieResult; }