public List <Street> Read(string searchString) { if (string.IsNullOrEmpty(searchString)) { return(repository.GetAll()); } else { return(repository.GetByName(searchString)); } }