예제 #1
0
 public PeopleController(ApplicationDbContext context)
 {
     _context = context;
     // 都道府県テーブルの初期データ投入
     Prefecture.Initialize(_context);
 }
예제 #2
0
 public PeopleController(ApplicationDbConttext context)
 {
     _context = context;
     //初回のみ都道府県を挿入する
     Prefecture.Initialize(_context);
 }
예제 #3
0
 public AuthorsController(ListDetailDbContext context)
 {
     _context = context;
     Prefecture.Initialize(_context);
 }