/// <summary>
 /// 
 /// </summary>
 /// <param name="db"></param>
 public BoardListModel(BoardDbContext db)
 {
     Boards = db.Boards.ToList();
 }
 /// <summary>
 /// DBを指定して生成
 /// </summary>
 /// <param name="db"></param>
 public BoardController( BoardDbContext db )
 {
     db_ = db ?? new BoardDbContext();
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="db"></param>
 public BoardDbRepository( BoardDbContext db )
 {
     db_ = db;
 }
 /// <summary>
 /// DBを指定して生成
 /// </summary>
 /// <param name="db"></param>
 public BoardController( BoardDbContext db )
 {
     db_ = new BoardDbRepository( db ?? new BoardDbContext() );
 }