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