using General_Ledger_Service.DTOs.Common; using General_Ledger_Service.Interfaces.Repositories; using General_Ledger_Service.Interfaces.Services; namespace General_Ledger_Service.Services { public class CurrencyService(ICurrencyRepository currencyRepository) : ICurrencyService { private readonly ICurrencyRepository _currencyRepository = currencyRepository; public async Task ListCurrenciesAsync() { var currencies = await _currencyRepository.GetAllAsync(); return ResponseHelpers.Ok("Currencies retrieved successfully", currencies); } } }