public void SearchNonExistItemPerson() { PersonSearchRepository repo = new PersonSearchRepository(new SearchEng.Data.AWEntities()); var results = repo.Results("Murat").ToList(); var count = results.Count(); // Assert.Same(0, count); }
public void SearchWhiteSpacePerson() { PersonSearchRepository repo = new PersonSearchRepository(new SearchEng.Data.AWEntities()); var results = repo.Results(" ").ToList(); var count = results.Count(); Assert.Equal(0, count); }
public PeopleSearchController(DbContext db) { repo = new PersonSearchRepository(db); }