Esempio n. 1
0
        public async Task <bool> SeccionEliminar(Section objSeccionBE)
        {
            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                SectionDatos objSectionDA = new SectionDatos();
                return(await objSectionDA.SeccionEliminar(cn, objSeccionBE));
            }
        }
Esempio n. 2
0
        public async Task <List <KeyValuePair <string, string> > > SectionListarCombos(Speech objSpeechBE)
        {
            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                SectionDatos objSectionDA = new SectionDatos();
                return(await objSectionDA.SectionListarCombos(cn, objSpeechBE));
            }
        }