예제 #1
0
        /// <summary>
        /// Gets the candidates.
        /// </summary>
        /// <returns></returns>
        public async Task <List <DisplayCandidateViewModel> > GetCandidates()
        {
            var data = await dbContext.GetCandidates();

            return(data);
        }