public decimal GroupUser_Insert(string p_name, decimal p_group_type, string p_note) { try { Group_User_DA _Group_User_DA = new Group_User_DA(); return(_Group_User_DA.GroupUser_Insert(p_name, p_group_type, p_note)); } catch (Exception ex) { ErrorLog.log.Error(ex.ToString()); return(-1); } }
public bool GroupUser_Delete(decimal id) { try { Group_User_DA _Group_User_DA = new Group_User_DA(); return(_Group_User_DA.GroupUser_Delete(id)); } catch (Exception ex) { ErrorLog.log.Error(ex.ToString()); return(false); } }
public bool GroupUser_Update(decimal id, string p_name, decimal p_group_type, string p_note) { try { Group_User_DA _Group_User_DA = new Group_User_DA(); return(_Group_User_DA.GroupUser_Update(id, p_name, p_group_type, p_note)); } catch (Exception ex) { ErrorLog.log.Error(ex.ToString()); return(false); } }
public byte[] GroupUser_GetAll() { try { byte[] byteReturn; Group_User_DA _Group_User_DA = new Group_User_DA(); DataSet ds = _Group_User_DA.GroupUser_GetAll(); byteReturn = CompressionHelper.CompressDataSet(ds); return(byteReturn); } catch (Exception ex) { ErrorLog.log.Error(ex.ToString()); return(new byte[0]); } }