public ProductController() { GameStoreDbContext context = new GameStoreDbContext(); ProductManager = new ProductManager(context); PegiManager = new PegiManager(context); MultimediaManager = new MultimediaManager(context); }
public ProductController(ProductManager productManager, PegiManager pegiManager) { ProductManager = productManager; PegiManager = pegiManager; }
public PegiController(PegiManager pegiManager) { PegiManager = pegiManager; }
public PegiController() { GameStoreDbContext context = new GameStoreDbContext(); PegiManager = new PegiManager(context); }