예제 #1
0
def init():
    while True:
        ui.print_program_menu(["Create company", "Show company", "Show all companies", "Update company", "Delete company"])
        try:
            if menu_options_companys() == False:
                break
        except KeyError as err:
            ui.print_message(str(err))           
예제 #2
0
def init():
    while True:
        ui.print_program_menu(
            ["Create application", "Update application", "Delete application"])
        try:
            if menu_options_applications() == False:
                break
        except KeyError as err:
            ui.print_message(str(err))
예제 #3
0
def main():

    while True:
        ui.print_program_menu(
            ["Students", "Companies", "Positions", "Applications"])
        try:
            menu_options()
        except KeyError as err:
            ui.print_message(str(err))
예제 #4
0
def init():
    while True:
        ui.print_program_menu([
            "Create Student", "Show student", "Show all students",
            "Update student", "Activate/Deactivate student", "Delete student"
        ])
        try:
            if menu_options_students() == False:
                break
        except KeyError as err:
            ui.print_message(str(err))
예제 #5
0
def init():
    while True:
        ui.print_program_menu([
            "Create position", "Show position", "Show all positions",
            "Update position", "Activate/Deactivate position",
            "Delete position"
        ])
        try:
            if menu_options_positions() == False:
                break
        except KeyError as err:
            ui.print_message(str(err))