public Cities GetCityByName(string city) { var getCity = _citiesRepository.GetFirstWhere(x => x.City.ToLower() == city.ToLower().Trim()); if (getCity == null) { throw new FlowException("Градот не е пронајден!"); } return(getCity); }
public Cities GetCityByName(string city) { var getCity = _citiesRepository.GetFirstWhere(x => x.City.ToLower() == city.ToLower().Trim()); if (getCity == null) { throw new FlowException("Градот не е пронајден!"); } return(getCity); }