예제 #1
0
        public IActionResult Index()
        {
            var context = new MyEf6Context(_configuration.GetConnectionString("DefaultConnection"));
            var todos   = context.Todos.ToList();

            return(View());
        }
 public JukeboxRepository(MyEf6Context context)
 {
     _context = context;
 }