Пример #1
0
        public bool CanViewReportsWithPhoneNumber()
        {
            bool canView = false;

            try
            {
                canView = (bool)BusinessBase.ExecuteScalar("spr_CanUserViewReportsWithPhoneNumber", this._userID);
            }
            catch (Exception ex)
            {
                HandleException(ex);
            }
            return(canView);
        }
Пример #2
0
        public bool IsOrganizationCodeSupervisor(int OrganizationCodeID)
        {
            bool isOrgcodesupervisor = false;

            try
            {
                isOrgcodesupervisor = (bool)BusinessBase.ExecuteScalar("spr_IsOrgCodeSupervisor", this._userID, OrganizationCodeID);
            }
            catch (Exception ex)
            {
                HandleException(ex);
            }
            return(isOrgcodesupervisor);
        }