// GET /api/locationapi/GetCitiesFromProvince?provinceId= public HttpResponseMessage GetCitiesFromProvince(int provinceId) { HttpResponseMessage response; var cities = _locationServices.GetCitiesFromProvince(provinceId).Select(x => new { Id = x.Id, Label = x.Label }); response = Request.CreateResponse(HttpStatusCode.OK, cities); return(response); }