public ActionResult <Respuesta <FacturaViewModel> > Post(FacturaInputModel facturaInputModel) { Factura factura = Mapear(facturaInputModel); var response = _facturaServicio.Guardar(factura); if (response.Error) { return(BadRequest(response)); } return(Ok(response)); }