Distribution_GL Initialization

This commit is contained in:
2026-10-20 13:07:07 +05:30
commit 3f16e0cb44
194 changed files with 35659 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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<ApiResponse> ListCurrenciesAsync()
{
var currencies = await _currencyRepository.GetAllAsync();
return ResponseHelpers.Ok("Currencies retrieved successfully", currencies);
}
}
}