예제 #1
0
 public ProductController()
 {
     GameStoreDbContext context = new GameStoreDbContext();
     ProductManager = new ProductManager(context);
     PegiManager = new PegiManager(context);
     MultimediaManager = new MultimediaManager(context);
 }
예제 #2
0
 public ProductController(ProductManager productManager, PegiManager pegiManager)
 {
     ProductManager = productManager;
     PegiManager = pegiManager;
 }
예제 #3
0
 public PegiController(PegiManager pegiManager)
 {
     PegiManager = pegiManager;
 }
예제 #4
0
 public PegiController()
 {
     GameStoreDbContext context = new GameStoreDbContext();
     PegiManager = new PegiManager(context);
 }