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)); } }
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)); } }