public CountyModelDC GetCountyById(int id) { if (id < 0) { throw new ArgumentException(Messages.CountyExceptionGetById); } return(_counties.GetCountyById(id)); }
public void GetCountyById_InvalidArgument() { _countyDal.GetCounties(); _countyDal.GetCountyById(-50); }