Ejemplo n.º 1
0
        public ResultEntity <IEnumerable <CountryEntity> > GetAll(DBParamEntity dbParamEntity)
        {
            var validationResult = new ResultEntity <IEnumerable <CountryEntity> >();

            using (var countryDA = new CountryDA())
            {
                validationResult.Value = countryDA.GetAll(dbParamEntity);
            }

            return(validationResult);
        }