Example #1
0
 public void Salvar(TPerfilVO tperfilvo)
 {
     try
     {
         if (tperfilvo.IDPerfil > 0)
         {
             TPerfilBLL.Alterar(tperfilvo);
         }
         else
         {
             TPerfilBLL.Inserir(tperfilvo);
         }
     }
     catch (CABTECException)
     {
         throw new CABTECException("Erro ao Salvar Perfil.");
     }
     catch (Exception)
     {
         throw new CABTECException("Erro ao Salvar Perfil.");
     }
 }