Example #1
0
        public void ExcluirResp(int responsavel_id)
        {
            RepResponsavel rep = new RepResponsavel();

            if (rep.FindById(responsavel_id) != null)
            {
                rep.Delete(responsavel_id);
            }
        }
Example #2
0
        public void AtualizarResp(Responsavel r)
        {
            RepResponsavel rep = new RepResponsavel();

            if (rep.FindById(r.IdResponsavel) != null)
            {
                rep.UpdateAll(r);
            }
        }