示例#1
0
        public void CheckCancelFlow(Guid authenticatedActorId, Guid flowId)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckCancelFlow(authenticatedActorId, flowId);
            }
        }
示例#2
0
        public void CheckCancelFlow(String authenticatedActorId, Int64 flowId, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckCancelFlow(authenticatedActorId, flowId);
            }
        }