Beispiel #1
0
        private void LoadSalesmen()
        {
            var salesmans = salesmanRepository.GetAll();

            lvwSalesman.Items.Clear();

            foreach (var salesman in salesmans)
            {
                RenderSalesman(salesman);
            }
        }
 public List <ISalesman> GetAllSalesmans()
 {
     return(_salesmanRepository.GetAll());
 }
        public void GetAll()
        {
            var list = salesmanRepo.GetAll();

            Assert.IsNotNull(list);
        }
 public IEnumerable <Salesman> GetAllSalesmens()
 {
     return(_salesmanRepository.GetAll());
 }