public IHttpActionResult GetCitiesByCuntryID(int i_CountryID) { LogControllerEntring("getcities"); IHttpActionResult result = Ok(); try { result = Ok(m_Logic.GetCities(i_CountryID)); } catch (Exception ex) { result = LogException(ex, null); } return(result); }
// GET: api/City public List <CityDto> Get() { return(CityLogic.GetCities()); }
// GET: api/City public IEnumerable <CityModelDC> Get() { return(cityMethods.GetCities()); }