public IHttpActionResult Delete(int id)
 {
     try
     {
         VentaBLL.Delete(id);
         return(Ok("Venta eliminado correctamente"));
     }
     catch (Exception ex)
     {
         return(Content(HttpStatusCode.BadRequest, ex));
     }
 }
        public bool Delete(int ID)
        {
            VentaBLL VentaBLL = new VentaBLL();

            return(VentaBLL.Delete(ID));
        }