<?php
namespace App\Services\Statistics;

use App\Repositories\Statistics\StatisticsUserRepository;

class StatisticsUserService
{
    protected $statisticsUserRepository;

    /**
     * StatisticsUserService constructor.
     * @param $statisticsUserRepository
     */
    public function __construct(StatisticsUserRepository $statisticsUserRepository)
    {
        $this->statisticsUserRepository = $statisticsUserRepository;
    }

    public function getList($where = array(), $limit = '')
    {
        return $this->statisticsUserRepository->getUsers($where, $limit);
    }

    public function getUserInfo($where)
    {
        return $this->statisticsUserRepository->getUserInfo($where);
    }

    public function createUserInfo($data)
    {
        return $this->statisticsUserRepository->createUserInfo($data);
    }

    public function updateUserInfo($set_data, $where)
    {
        return $this->statisticsUserRepository->updateUserInfo($set_data, $where);
    }

    public function deleteUserInfo($where)
    {
        return $this->statisticsUserRepository->deleteUserInfo($where);
    }




}