Example #1
0
 public ProductController()
 {
     GameStoreDbContext context = new GameStoreDbContext();
     ProductManager = new ProductManager(context);
     PegiManager = new PegiManager(context);
     MultimediaManager = new MultimediaManager(context);
 }
Example #2
0
 public ProductController(ProductManager productManager, PegiManager pegiManager)
 {
     ProductManager = productManager;
     PegiManager = pegiManager;
 }
Example #3
0
 public OpinionController()
 {
     GameStoreDbContext context = new GameStoreDbContext();
     OpinionManager = new OpinionManager(context);
     ProductManager = new ProductManager(context);
 }
Example #4
0
 public HomeController()
 {
     GameStoreDbContext context = new GameStoreDbContext();
     ProductManager = new ProductManager(context);
 }
Example #5
0
 public GenreController(ProductManager productManager)
 {
     ProductManager = productManager;
 }
Example #6
0
 public CartController(ProductManager productManager)
 {
     ProductManager = productManager;
 }
 public CategoryController(ProductManager productManager)
 {
     ProductManager = productManager;
 }