Esempio n. 1
0
        public VotingApp.Models.Job GetJob(string jobName)
        {
            var _context = new VotingContext();
            var _builder = new JobBuilder();
            var job      = _builder.GetModel(_context.Jobs.First(x => x.Name == jobName));

            return(job);
        }