예제 #1
0
 public ActionResult Browse(string searchtext)
 {
     BrowseModel browseData = new BrowseModel();
     browseData.profiles = _usersRepository.findProfilesByName(searchtext);
     browseData.countries = reader.getCountries();
     return View(browseData);
 }
예제 #2
0
 // GET: BrowseProfiles
 public ActionResult Browse()
 {
     BrowseModel browseData = new BrowseModel();
     browseData.profiles = _usersRepository.fetchProfiles();
     browseData.countries = reader.getCountries();
     return View(browseData);
 }