Exemple #1
0
        public ActionResult <List <City> > getCities(long countryId)
        {
            var ipAddress = HttpContext.Connection.RemoteIpAddress;

            communication.log($"countryID -> {countryId}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString());
            List <City> cities = new List <City>();
            DbSelect    select = new DbSelect(Configuration, _hostingEnvironment);

            cities = select.GetCities(countryId);

            return(cities);
        }