Ejemplo n.º 1
0
        public SigmaResultType MultiRolesNPermissions(TypeSigmaRole listObj)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                PermissionMgr permissionMgr = new PermissionMgr();
                result = permissionMgr.MultiSigmaRoleSigmaJob(listObj);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }
Ejemplo n.º 2
0
        public SigmaResultType ListSigmaRoleSigmaJobForInit()
        {
            SigmaResultType result = new SigmaResultType();
            try
            {
                var queryStr = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters;

                PermissionMgr permissionMgr = new PermissionMgr();
                result = permissionMgr.ListSigmaRoleSigmaJobForInit();
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }