package com.YuyeTech.HeartRate.game.gameInfo.service;

import com.YuyeTech.HeartRate.game.gameInfo.projo.GameCategory;
import com.YuyeTech.HeartRate.game.gameInfo.repository.GameCategoryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author:slambb
 * @date:2020/2/5
 */
@Service
public class GameCategoryServiceImpl implements GameCategoryService {
    @Autowired
    private GameCategoryRepository gameCategoryRepository;
    @Override
    public List<GameCategory> findAll() {
        return gameCategoryRepository.findAll();
    }
}
