public void InitialSetup() { _mockedEntities = MockHelper.GetMockedEntityModel(); _countyDal = new CountyDal(_mockedEntities.Object); _listOfCounties = new List <County>(_mockedEntities.Object.Counties); foreach (var a in _listOfCounties) { _listOfCountiesModelDC.Add(_countyDal.MapToCountyModelDC(a)); } }
public CountyLogic(CountyDal counties) { _counties = counties; }