public void Confirm(int id)
        {
            var repo = new CandidatesRepository(_connectionString);

            repo.Confirm(id);
        }
示例#2
0
        public void Confirm(int candidateId)
        {
            var repo = new CandidatesRepository(Properties.Settings.Default.ConStr);

            repo.Confirm(candidateId);
        }