public void Delete(int id) { _Conn.OpenConnection(); _Conn.InsertCommand($"DELETE FROM Usuario WHERE Id = {id};", CommandType.Text); _Conn.ExculteNonQuery(); _Conn.CloseConnection(); }
public void Delete(int id) { _Conn.OpenConnection(); _Conn.InsertCommand($"DELETE FROM Usuario WHERE Id = {id};", CommandType.Text); _Conn.ExculteNonQuery(); _Conn.CloseConnection(); }