public async override Task <WordRule> Find(WordRule Item)
        {
            WordRule oWordRule = null;

            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                WordRuleDatos oWordRuleDatos = new WordRuleDatos();
                oWordRule = await oWordRuleDatos.Find(cn, Item);
            }
            return(oWordRule);
        }
        public async override Task <IEnumerable <WordRule> > Retrieve(WordRule Item)
        {
            IEnumerable <WordRule> lWordRule = null;

            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                WordRuleDatos oWordRuleDatos = new WordRuleDatos();
                lWordRule = await oWordRuleDatos.Retrieve(cn, Item);
            }
            return(lWordRule);
        }
        public async override Task <int> Delete(WordRule Item)
        {
            int rpta = -1;

            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                WordRuleDatos oWordRuleDatos = new WordRuleDatos();
                rpta = await oWordRuleDatos.Delete(cn, Item);
            }
            return(rpta);
        }
        public async Task <IEnumerable <WordRule> > ListarWordRule(int id)
        {
            IEnumerable <WordRule> lRule = null;

            using (SqlConnection cn = new SqlConnection(this.stringConexion))
            {
                await cn.OpenAsync();

                WordRuleDatos ruledatos = new WordRuleDatos();
                lRule = await ruledatos.ListarWordRule(cn, id);
            }

            return(lRule);
        }