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