public void DeletarServidor(Guid id, string tabela) { string sqlDelete = GenericQuerys.GerarDeleteQuery(id, tabela); _conn.ExecuteScalar(sqlDelete, null, _trans); }
public void RemoverVideo(Guid id) { string sqlDelete = GenericQuerys.GerarDeleteQuery(id, "Video"); _conn.Execute(sqlDelete, null, _trans); }