consulta tonta
echale un ojo si te apetece
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using back.Application.Contracts.Services;
|
||||
using back.Application.Services;
|
||||
using back.Entities.DTOs.Request;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -27,5 +28,13 @@ namespace back.Controllers
|
||||
{
|
||||
return Ok(await service.GetWithTasks());
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("locaAwait")]
|
||||
public async Task<IActionResult> LocaAwait(ConsultaLoca dto)
|
||||
{
|
||||
Entities.Persona holi = await service.ConsultaLocaAwait(dto);
|
||||
return base.Ok(holi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user