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);
    }
Esempio n. 2
0
 public LookUpBO(SessionObj _sessionObj)
 {
     sessionObj       = _sessionObj;
     lookUpRepository = new LookUpRepository();
 }
Esempio n. 3
0
 public LookUpFacade(DataContext dataContext) : base(dataContext)
 {
     lookupRepo = new LookUpRepository(dataContext);
 }