public List <County> GetCounties(string state) { List <Count> found; if (!_map.TryGetValue(state, out found)) { var db = new LookUpRepository(); found = db.GetCounties(state); _map.Add(state, found); } return(found); }
public LookUpBO(SessionObj _sessionObj) { sessionObj = _sessionObj; lookUpRepository = new LookUpRepository(); }
public LookUpFacade(DataContext dataContext) : base(dataContext) { lookupRepo = new LookUpRepository(dataContext); }