Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="filtro"></param>
        /// <returns></returns>
        public List <Destino> ListarDestino()
        {
            DataTable getReturnDestino = getReturn.GetDestino();

            for (int i = 0; i < getReturnDestino.Rows.Count; i++)
            {
                DataRow row = getReturnDestino.Rows[i];
                getReturn      = new Destino();
                getReturn.Nome = row["Nome"].ToString();
                returnvalue.Add(getReturn);
            }

            return(returnvalue);
        }