implementing productservice (bySlug, byId, filter)