public HttpResponseMessage GetCitiesByState(int id) { var city = new Business.City(); var result = city.GetByState(id); return(Request.CreateResponse(HttpStatusCode.OK, result)); }
public static string[] GetCities(int provinceID) { Business.City cityController = new Business.City(); return(cityController.GetCities(provinceID)); }
public static DataTable GetPagedCityNumbers(int provinceID, int cityID, Business.NumberType numberRecipientType, long downRange, int pageSize) { Business.City cityController = new Business.City(); return(cityController.GetPagedCityNumbers(provinceID, cityID, numberRecipientType, downRange, pageSize)); }
public static DataTable GetCities(Guid provinceGuid) { Business.City cityController = new Business.City(); return(cityController.GetCities(provinceGuid)); }
public CityController() { _city = new Business.City(); }