示例#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);
            }
        }
示例#3
0
        public List <Retorno> BuscarTodosRetorno()
        {
            RepRetorno rep = new RepRetorno();

            return(rep.FindAll());
        }
示例#4
0
        public List <Retorno> ConsultarTipo(int sistema_id, int responsavel_id, int situacao_id, int tipo_id)
        {
            RepRetorno rep = new RepRetorno();

            return(rep.FindBySistResSitTip(sistema_id, responsavel_id, situacao_id, tipo_id));
        }
示例#5
0
        //Retorno

        #region Retorno
        public void InserirRetorno(Retorno r)
        {
            RepRetorno rep = new RepRetorno();

            rep.Insert(r);
        }