public static void eliminar(Query query) { try { FachadaCategoria.eliminar(query); } catch (Exception ex) { Utils.EscribeLog(ex); } }
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); } }