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

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

            return(result);
        }