/// <summary>
        /// Funcion que llama al metodo listadoCompletoPersonajes_DAL() de la clase clsListadoPersonajes_DAL para rellenar una lista de objetos clsPersonaje y devolverla
        /// </summary>
        /// <returns></returns>
        public List <clsPersonaje> listadoCompletoPersonajes_BL()
        {
            clsListadoPersonajes_DAL listadoPersonajes_DAL = new clsListadoPersonajes_DAL();
            List <clsPersonaje>      listado = listadoPersonajes_DAL.listadoCompletoPersonajes_DAL();

            return(listado);
        }
        public List <clsPersonaje> listadoNombresPersonajes()
        {
            clsListadoPersonajes_DAL listadoPersonajes_DAL = new clsListadoPersonajes_DAL();
            List <clsPersonaje>      listadoPersonajes_BL  = new List <clsPersonaje>();

            listadoPersonajes_BL = listadoPersonajes_DAL.ListadoNombresPersonajes();

            return(listadoPersonajes_BL);
        }
Beispiel #3
0
        /// <summary>
        /// Funcion la cal nos devuelve un listado de personajes
        /// </summary>
        /// <returns>ListadoPersonajes</returns>
        public List <clsPersonaje> ListadoPer_BL()
        {
            List <clsPersonaje> listadoPer = new List <clsPersonaje>();

            clsListadoPersonajes_DAL lista = new clsListadoPersonajes_DAL();

            try {
                listadoPer = lista.ListadoPer_DAL();
            }
            catch (Exception e) {
                //TODO
            }


            return(listadoPer);
        }