Exemple #1
0
        public ActionResult New(TablaViewModel model)
        {
            WebService1SoapClient client = new WebService1SoapClient();


            var batch = new batch();

            batch.ID_Movie          = model.ID_Movie;
            batch.Description_Movie = model.Description_Movie;
            batch.Duration          = model.Duration;
            batch.State             = model.State;

            client.AddMovie(model.ID_Movie, model.Description_Movie, model.Duration, model.State);


            return(Redirect("~/Movie/"));
        }