public CategoryController(IGeneriskRepository <Category> catRepo, IGeneriskRepository <ComponentType> typeRepo) { _categoryRepo = catRepo; _typeRepo = typeRepo; }