public Model.Movie GetMovie(int id) { using (PersonServiceClient proxy = new PersonServiceClient()) { Movie m = proxy.GetMovie(id); Model.Movie movie = new Model.Movie(); movie.MovieId = m.MovieId; movie.MovieLength = m.MovieLength; movie.PremiereDate = m.PremiereDate; movie.Resume = m.Resume; movie.Title = m.Title; movie.ImagePath = m.ImagePath; movie.Genre = m.Genre; return(movie); } }