public async Task <IViewComponentResult> InvokeAsync() { CategorieMSSQLContext mssqlContext = new CategorieMSSQLContext(); List <Categorie> alleCategorieën = await mssqlContext.GetAll(); return(View(alleCategorieën)); }
public CategorieRepository(CategorieMSSQLContext context) { this.context = context; }