package com.YuyeTech.TPlat.service.impl;

import com.YuyeTech.TPlat.dataobject.GameCategory;
import com.YuyeTech.TPlat.service.GameCategoryService;
import com.YuyeTech.TPlat.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();
    }
}
