Пример #1
0
        public bool UpdateCutomterPermissionObj(string RoleID, List<CustomerPermission> objs, ref string strResult)
        {
            try
            {
                //using (EntityMenuCustomPermBLL bll = new EntityMenuCustomPermBLL())
                //{
                EntityMenuCustomPermBLL bll = new EntityMenuCustomPermBLL();
                    if (string.IsNullOrWhiteSpace(RoleID))
                    {
                        return false;
                    }

                    return bll.UpdateCustomerPermissionnew(RoleID, objs, ref strResult);


                //}
            }
            catch (Exception ex)
            {
                strResult = ex.Message;
                return false;
            }
        }