Пример #1
0
        private void FillSalesman()
        {
            var salesmen = salesmanRepository.GetActiveSalesman();

            foreach (var salesman in salesmen)
            {
                cboSalesman.Items.Add(salesman.Name);
            }
        }
Пример #2
0
        private void LoadSalesman()
        {
            var salesman = salesmanRepository.GetActiveSalesman();

            lvwSalesman.Items.Clear();

            foreach (var s in salesman)
            {
                RenderSalesman(s);
            }
        }