public ActionResult Nuevo(ViewTanda model) { ServicioSoapClient client = new ServicioSoapClient(); Tanda item = new Tanda(); item.ID_pelicula = model.ID_pelicula; item.ID_sala = model.ID_sala; try { if (ModelState.IsValid) { client.AgregaTanda(item); return(Redirect("~/Tanda/Index")); } return(View(model)); } catch (Exception ex) { throw new Exception(ex.Message); } }