Esempio n. 1
0
def choose_block():
    Community.get_all_blocks()
    street, number = view.get_block_data()
    block = Community.find_block(street, number)
    if block:
        block_controller.block_menu(block)
    else:
        view.print_error_message()
Esempio n. 2
0
def is_block_exist(street, number):
    if Community.find_block(street, number):
        return True
    else:
        return False