public bool Delete(int id) { using (DbConnection conn = new DbConnection()) { try { ConfigTable.Delete(Where.Equal("ID", id)); return(true); } catch (Exception) { return(false); } } }
public bool Delete(int id) { using (DbConnection conn = new DbConnection()) { try { ConfigTable.Delete(Where.Equal("ID", id)); return(true); } catch (Exception) { return(false); } } }