public ActionResult Refused() { var repo = new CandidatesRepository(Properties.Settings.Default.ConStr); return(View(repo.GetRefused())); }