public CategorieRepository(ICategorieContext context) { this.context = context; }
public CategorieController(ICategorieContext context) { this.context = context; }
public CategorieAPIController(ICategorieContext categorieContext) { this.categorieContext = categorieContext; }
public CategorieRepository(ICategorieContext context) { this.context = context ?? throw new NullReferenceException("De CategorieContext is leeg. "); }
public void SetUp() { Context = new CategorieTestContext(); }