コード例 #1
0
        public ActionResult Index()
        {
            sinavdbEntities sinav_db = new sinavdbEntities();

            derslikPlanClass dpc = new derslikPlanClass();

            dpc.derslikler = sinav_db.Derslik.ToList();
            dpc.sinavlar   = sinav_db.Sinav.ToList();

            return(View(dpc));
        }