public string save(GlobalVariables.Operation pOperation, ref MySqlTransaction pTrans)
        {
            string _UserGroupId = "";

            try
            {
                switch (pOperation)
                {
                case GlobalVariables.Operation.Add:
                    _UserGroupId = lUserGroupDAO.insertUserGroup(this, ref pTrans);
                    break;

                case GlobalVariables.Operation.Edit:
                    _UserGroupId = lUserGroupDAO.updateUserGroup(this, ref pTrans);
                    break;

                default:
                    break;
                }
            }
            catch (Exception ex)
            {
                MessageBoxUI mb = new MessageBoxUI(ex, GlobalVariables.Icons.Error, GlobalVariables.Buttons.OK);
                mb.ShowDialog();
            }
            return(_UserGroupId);
        }