prueba tecnica

This commit is contained in:
Alejandro
2025-06-15 18:29:25 +02:00
parent 9758ee0bc6
commit d97e55a83f
127 changed files with 6488 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using ProximaContracts.Application.Rates.Services;
namespace ProximaContracts.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class RatesController(IRateService service) : ControllerBase
{
private readonly IRateService _service = service;
[HttpGet("GetAllRates")]
public async Task<IActionResult> GetAllRates()
{
return Ok(await _service.GetRates());
}
}
}