adapted class for getting methods from favoritesService