lucas me pidio las lineas de codigo

This commit is contained in:
2025-01-29 01:59:16 -03:00
parent c7880b03b3
commit 72f277ab6c
14 changed files with 289 additions and 44 deletions

View File

@@ -44,7 +44,7 @@ public class VentaController:ControllerBase {
}
[HttpPost("/api/ventas/subirReciboPago")]
public async Task<IActionResult> SubirRecibo([FromHeader(Name="Auth")]string Auth, [FromForm]IFormFile file, long idventa ) {
public async Task<IActionResult> SubirRecibo([FromHeader(Name="Auth")]string Auth, IFormFile file, long idventa ) {
if (String.IsNullOrWhiteSpace(Auth)) return Unauthorized();
var validacion1 = RepositorioGrupos.Singleton.CheckGrupos(Auth, "Propietario");
if (validacion1 == false){