示例#1
0
 public static void eliminar(Query query)
 {
     try
     {
         FachadaCategoria.eliminar(query);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
     }
 }
示例#2
0
 public static void eliminar(int ID)
 {
     try
     {
         Query query = new Query("delete", "categoria");
         query.AddWhere("ID", ID.ToString());
         FachadaCategoria.eliminar(query);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
     }
 }