public bool DeleteCity(int id) { var x = _iGuideCityService.Delete(id); if (x != null) { return((bool)x); } throw new HttpResponseException(NotFoundMessage(CityAndTown.Id_failed)); }
public bool DeleteCity(int id) { var x = _iGuideCityService.Delete(id); if (x != null) { return((bool)x); } throw new HttpResponseException(NotFoundMessage(CityAndTown.Id_failed)); }