public IActionResult ReAprobarRemision(Token token, int id, [FromBody] Aprobacion1 req) { Remision.ReAprobarAP1(token.data.cedula, id, req.comentario, req.monto); return(Ok()); }
public IActionResult RechazarAP1(Token token, int id, [FromBody] Aprobacion1 data) { Remision.RechazarAP1(id, data.comentario); return(Ok()); }
public IActionResult AprobarRemision(Token token, int id, [FromBody] Aprobacion1 req) { new Remision.Aprobacion(id, req.monto, req.comentario, token.data.cedula); return(Ok()); }