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