src/com/vehiclerental/presentationLayer/branch/StaffBranchController.java
/**
     * Shutdowns the specified branch
     *
     * @param request the request parameters
     * @return the result response
     */
Shutdowns the specified branch
@param request the request parameters
@return the result response
Shutdowns the specified branch @param request the request parameters @return the result response
public static BranchResponseMessage handleBranchShutdown(BranchRequestMessage<Void> request) {
        NodeConfiguration.Current.systemAvailable = false;
        NodeConfiguration.Current.branchOfficeManager.stopAfterCurrentRequest();
        return generateSuccessfulResponse(request.operationCode, null);
    }
public static BranchResponseMessage handleBranchShutdown ( BranchRequestMessage < Void > request ) { NodeConfiguration . Current . systemAvailable = false ; NodeConfiguration . Current . branchOfficeManager . stopAfterCurrentRequest ( ) ; return generateSuccessfulResponse ( request . operationCode , null ) ; }
Shutdowns the specified branch
 @param request the request parameters
 @return the result response
Shutdowns the specified branch @param request the request parameters @return the result response