public GummisController(IGummiRepository repo = null) { if (repo == null) { _context = new EFGummiRepository(); } else { _context = repo; } }
public ProductsController(IGummiRepository repo = null) { if (repo == null) { this.productRepo = new EFProductRepository(); } else { this.productRepo = repo; } }