コード例 #1
0
 public ActionResult Create()
 {
     ViewBag.JobOpeningId = new SelectList(_jobOpeningRepository.GetAll(), "Id", "Title");
     return(View());
 }
コード例 #2
0
        public ActionResult Index()
        {
            var jobOpenings = _jobOpeningRepository.GetAll(j => j.OrderByDescending(d => d.CreatedOn)).ToList();

            return(View(jobOpenings));
        }