public List <CountyVM> Get() { var entities = _countyDal.Get() .Select(c => ToCountyVM(c)) .ToList(); return(entities); }
public County GetByID(int entityID) { return(_countyDal.Get(a => a.ID == entityID)); }
public List <CountyVM> Get() { var entities = _countyDal.Get() .Select(c => ToCountyVM(c)) .ToList(); return(entities); }
public County GetByID(int entityID) { return(_countyDal.Get(a => a.ID == entityID)); }