public List <Product> Products(int id) => _repository.GetAll() .Include(p => p.Brand) .Include(p => p.Categories) .Where(p => _productRepositories.GetGetCategoryIds(id) .Contains(p.CategoriesId)) .ToList();