package com.example.FinanceTracker.Services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.FinanceTracker.Models.Transaction;

@Service
public class ReportService {

    @Autowired
    private TransactionService transactionService;


    public List<Transaction> getTransactions(){
        return transactionService.findAll();
    }

}
