Ejemplo n.º 1
0
        public void ExcluirSistema(int sistema_id)
        {
            RepSistema rep = new RepSistema();

            if (rep.FindById(sistema_id) != null)
            {
                rep.Delete(sistema_id);
            }
        }
Ejemplo n.º 2
0
        public void AtualizarSistema(Sistema s)
        {
            RepSistema rep = new RepSistema();

            if (rep.FindById(s.IdSistema) != null)
            {
                rep.UpdateAll(s);
            }
        }