Ejemplo n.º 1
0
 public decimal GroupUserInsert(decimal p_id_user, decimal p_id_group, string p_createby, DateTime p_createdate)
 {
     try
     {
         GroupUserDA _ObjDA = new GroupUserDA();
         return(_ObjDA.GroupUserInsert(p_id_user, p_id_group, p_createby, p_createdate));
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
         return(-3);
     }
 }
Ejemplo n.º 2
0
 public decimal GroupUserDeleted(decimal pIdUser, decimal pIdGroup)
 {
     try
     {
         GroupUserDA _ObjDA = new GroupUserDA();
         return(_ObjDA.GroupUserDeleted(pIdUser, pIdGroup));
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
         return(-3);
     }
 }
Ejemplo n.º 3
0
 public byte[] GroupUserGetNotInUserID(decimal pIdUser)
 {
     try
     {
         GroupUserDA _ObjDA = new GroupUserDA();
         DataSet     _ds    = _ObjDA.GroupUserGetNotInUserID(pIdUser);
         byte[]      byteReturn;
         byteReturn = CompressionHelper.CompressDataSet(_ds);
         return(byteReturn);
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
         return(new byte[0]);
     }
 }