public void ExcluirRetorno(int retorno_id) { RepRetorno rep = new RepRetorno(); if (rep.FindById(retorno_id) != null) { rep.Delete(retorno_id); } }
public void AtualizarRetorno(Retorno r) { RepRetorno rep = new RepRetorno(); if (rep.FindById(r.IdRetorno) != null) { rep.UpdateAll(r); } }
public List <Retorno> BuscarTodosRetorno() { RepRetorno rep = new RepRetorno(); return(rep.FindAll()); }
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)); }
//Retorno #region Retorno public void InserirRetorno(Retorno r) { RepRetorno rep = new RepRetorno(); rep.Insert(r); }