示例#1
0
        public void ExcluirRetorno(int retorno_id)
        {
            RepRetorno rep = new RepRetorno();

            if (rep.FindById(retorno_id) != null)
            {
                rep.Delete(retorno_id);
            }
        }
示例#2
0
        public void AtualizarRetorno(Retorno r)
        {
            RepRetorno rep = new RepRetorno();

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