Example #1
0
 public IActionResult ReAprobarRemision(Token token, int id, [FromBody] Aprobacion1 req)
 {
     Remision.ReAprobarAP1(token.data.cedula, id, req.comentario, req.monto);
     return(Ok());
 }
Example #2
0
        public IActionResult RechazarAP1(Token token, int id, [FromBody] Aprobacion1 data)
        {
            Remision.RechazarAP1(id, data.comentario);

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