public IHttpActionResult Delete(int id)
 {
     try
     {
         PagoBLL.Delete(id);
         return(Ok("Metodo de pago eliminado correctamente"));
     }
     catch (Exception ex)
     {
         return(Content(HttpStatusCode.BadRequest, ex));
     }
 }
 public ActionResult DeleteConfirmed(int id)
 {
     PagoBLL.Delete(id);
     return(RedirectToAction("Index"));
 }