Пример #1
0
        public void Excluir(int id)
        {
            var p = new SqlParameter[]
            {
                new SqlParameter("id", id)
            };

            HelperDAO.ExecutaProc("spExcluiFerramenta", p);
        }
Пример #2
0
 public void Alterar(FerramentasViewModel ferramentas)
 {
     HelperDAO.ExecutaProc("spAlteraFerramenta", CriaParametros(ferramentas));
 }
Пример #3
0
 public void Inserir(FerramentasViewModel ferramentas)
 {
     HelperDAO.ExecutaProc("spIncluiFerramenta", CriaParametros(ferramentas));
 }