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