Exemplo n.º 1
0
        public Dictionary <int, string> GetBusinessList()
        {
            Dictionary <int, string> bizList = new Dictionary <int, string>();

            StringBuilder sb = new StringBuilder("SELECT CB.ClientBusinessDetailId, C.BusinessName FROM Client C JOIN ClientBusinessDetails CB ON C.ClientId = CB.ClientId");

            bizList = clientDA.GetBusinessList(sb.ToString());

            return(bizList);
        }