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; } }
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; } }