Exemplo n.º 1
0
        public Allegiance GetAllegianceFromCode(string code)
        {
            // TODO: Consider hashtable
            Allegiance alleg = Allegiances.Where(a => a.T5Code == code).FirstOrDefault();

            return(alleg ?? SecondSurvey.GetStockAllegianceFromCode(code));
        }
Exemplo n.º 2
0
        public Allegiance GetAllegiance(string code)
        {
            // TODO: Consider hashtable
            Allegiance alleg = Allegiances.Where(a => a.Code == code).FirstOrDefault();

            return(alleg != null ? alleg : Allegiance.GetStockAllegiance(code));
        }