public void CheckCancelFlow(Guid authenticatedActorId, Guid flowId) { IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId); if (authorizationHandler != null) { authorizationHandler.CheckCancelFlow(authenticatedActorId, flowId); } }
public void CheckCancelFlow(String authenticatedActorId, Int64 flowId, DbSession dbSession) { IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId, dbSession); if (authorizationHandler != null) { authorizationHandler.CheckCancelFlow(authenticatedActorId, flowId); } }