예제 #1
0
        // GET api/<controller>
        public IEnumerable <Job> Get()
        {
            var jobs = LSA.GetJobs(_context).OrderByDescending(i => i.Created);

            return(Mapper.Map <IEnumerable <Engine.Job>, IEnumerable <Job> >(jobs));
        }