public void ExcluirResp(int responsavel_id) { RepResponsavel rep = new RepResponsavel(); if (rep.FindById(responsavel_id) != null) { rep.Delete(responsavel_id); } }
public void AtualizarResp(Responsavel r) { RepResponsavel rep = new RepResponsavel(); if (rep.FindById(r.IdResponsavel) != null) { rep.UpdateAll(r); } }