Ejemplo n.º 1
0
        public ActionResult <IEnumerable <StateDTO> > Get(int countryId)
        {
            var countriesBusiness = new CountriesBDC();
            var result            = new ActionResult <IEnumerable <StateDTO> >(countriesBusiness.Get(countryId));

            return(result);
        }
Ejemplo n.º 2
0
        public ActionResult <IEnumerable <CountryDTO> > Get()
        {
            var countriesBusiness = new CountriesBDC();
            var result            = new ActionResult <IEnumerable <CountryDTO> >(countriesBusiness.Get());

            return(result);
        }