コード例 #1
0
        // GET: EczaneNobet/IstekTur
        public ActionResult Index()
        {
            var model = _istekTurService.GetList();

            return(View(model));
        }
コード例 #2
0
 // GET: EczaneNobet/Istek/Create
 public ActionResult Create()
 {
     ViewBag.IstekTurId = new SelectList(_istekTurService.GetList().Select(s => new { s.Id, s.Adi }), "Id", "Adi");
     return(View());
 }