Changing CategoriesActionFilter to use IRepository