public ID PostCotizacionXpz([FromBody] OrdenesCVP OrdenV) { if (OrdenV == null) { throw new HttpResponseException(HttpStatusCode.BadRequest); } int ret = -1; OrdenesCVP Cotizacion = new OrdenesCVP(); ret = ClassBD.AgregarCotizacionXpz(OrdenV); return(new ID(ret)); }