From 99dc7b28d5639512877d2102986df423fcfcaed2 Mon Sep 17 00:00:00 2001 From: fede Date: Fri, 24 Jan 2025 04:19:40 -0300 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20skeleton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aspnet/Controllers/VentaController.cs | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Aspnet/Controllers/VentaController.cs diff --git a/Aspnet/Controllers/VentaController.cs b/Aspnet/Controllers/VentaController.cs new file mode 100644 index 0000000..443d1d6 --- /dev/null +++ b/Aspnet/Controllers/VentaController.cs @@ -0,0 +1,34 @@ +using Microsoft.AspNetCore.Mvc; + +namespace AlquilaFacil.Controllers; +[ApiController] +public class VentaController:ControllerBase { + [HttpPost("/api/ventas/ejercerOpcionVenta")] + public IActionResult EjercerOpcionVenta(long idcontrato) { + + } + + [HttpPost("/api/ventas/subirReciboPago")] + public IActionResult SubirRecibo([FromForm]IFormFile file, long idventa ) { + + } + [HttpPost("/api/ventas/propietarioverifica")] + public IActionResult PropietarioVerifica(long idventa) { + + } + + [HttpGet("/api/venta")] + public IActionResult ObtenerVenta(long idventa) { + + } + + [HttpGet("/api/ventas")] + public IActionResult ObtenerVenta(long idventa) { + + } + + [HttpGet("/api/contrato/tieneopcionventa")] + public IActionResult TieneOpcionVenta(long idcontrato) { + + } +} \ No newline at end of file