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