public List<CityDto> GetCities(String countryId)
{
try
{
int countryID = Convert.ToInt32(countryId);
var cities = _repository.Find<City>(x => x.Country.Id == countryID);
return Mapper.Map<List<CityDto>>(cities);
}
catch (FormatException ex)
{
_log.Error(ex.Message,ex);
throw new WebFaultException(HttpStatusCode.BadRequest);
}
}