public void CheckRemoveProcessInstance(Guid authenticatedActorId, Guid processInstanceId) { IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId); if (authorizationHandler != null) { authorizationHandler.CheckRemoveProcessInstance(authenticatedActorId, processInstanceId); } }
public void CheckRemoveProcessInstance(String authenticatedActorId, Int64 processInstanceId, DbSession dbSession) { IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId, dbSession); if (authorizationHandler != null) { authorizationHandler.CheckRemoveProcessInstance(authenticatedActorId, processInstanceId); } }