BikeInCity.Web.Services.Info.InformationTips C# (CSharp) Method

InformationTips() private method

private InformationTips ( String cityId ) : List
cityId String
return List
        public List<InformationTipDto> InformationTips(String cityId)
        {
            try
            {
                var id = Convert.ToInt32(cityId);
                var list = Mapper.Map<List<InformationTipDto>>(_repository.Find<InformationTip>(x => x.City.Id == id));
                return list;
            }
            catch (FormatException ex)
            {
                _log.Info("WS exception", ex);
                throw new WebFaultException(HttpStatusCode.BadRequest);
            }
        }