Пример #1
0
 public static IDictionary <string, Dealer> GetDealerDic()
 {
     if (dealerDic == null)
     {
         List <Dealer> list = dealerService.doFindDealerAll();
         dealerDic = list.ToDictionary(x => x.DealerCode, x => x);
     }
     return(dealerDic);
 }