private void FilterSalesman(string value) { var salesman = salesmanRepository.Search(value); lvwSalesman.Items.Clear(); foreach (var s in salesman) { RenderSalesman(s); } }
private void FilterSalesmans(string field, string value) { var salesmans = salesmanRepository.Search(value); lvwSalesman.Items.Clear(); foreach (var salesman in salesmans) { RenderSalesman(salesman); } }
public void Find() { var listSearch = salesmanRepo.Search("slsmName", "RAHMAT HIDAYAT"); Assert.IsNotNull(listSearch); }