public void Excluir(int id) { var p = new SqlParameter[] { new SqlParameter("id", id) }; HelperDAO.ExecutaProc("spExcluiFerramenta", p); }
public void Alterar(FerramentasViewModel ferramentas) { HelperDAO.ExecutaProc("spAlteraFerramenta", CriaParametros(ferramentas)); }
public void Inserir(FerramentasViewModel ferramentas) { HelperDAO.ExecutaProc("spIncluiFerramenta", CriaParametros(ferramentas)); }