Пример #1
0
 public string Carrega_Grupo(Dictionary <string, object> dados)
 {
     try
     {
         using (Doran_ERP_Servicos_Email.Th2_Email_Grupo c = new Doran_ERP_Servicos_Email.Th2_Email_Grupo(Convert.ToDecimal(dados["ID_USUARIO"])))
         {
             return(c.Carrega_Grupo_Email(dados));
         }
     }
     catch (Exception ex)
     {
         Doran_Base.Auditoria_ERP_Servicos.Doran_Exception.GravaErro(ex, Convert.ToDecimal(dados["ID_USUARIO"]));
         throw ex;
     }
 }
Пример #2
0
 public void Deleta_Grupo(decimal ID_GRUPO_EMAIL, decimal ID_USUARIO)
 {
     try
     {
         using (Doran_ERP_Servicos_Email.Th2_Email_Grupo c = new Doran_ERP_Servicos_Email.Th2_Email_Grupo(ID_USUARIO))
         {
             c.Deleta_Grupo_Email(ID_GRUPO_EMAIL);
         }
     }
     catch (Exception ex)
     {
         Doran_Base.Auditoria_ERP_Servicos.Doran_Exception.GravaErro(ex, ID_USUARIO);
         throw ex;
     }
 }