Пример #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);
 }