예제 #1
0
        // GET: Tanda
        public ActionResult Index()
        {
            ServicioSoapClient client = new ServicioSoapClient();
            var listatanda            = client.GetAllTandas();
            List <ViewTanda> lista    = new List <ViewTanda>();

            foreach (Tanda item in listatanda)
            {
                lista.Add(new ViewTanda()
                {
                    ID_pelicula = item.ID_pelicula,
                    ID_sala     = item.ID_sala,
                    ID_tanda    = item.ID_tanda
                });
            }


            return(View(lista));
        }