def create_card(): data = request.get_json() data_handler.create_card(data["board_id"], data["status_id"]) return data_handler.get_all_from_table("cards")
def get_all_cards(): return data_handler.get_all_from_table("cards")
def get_statuses(): return data_handler.get_all_from_table("statuses")
def get_boards(): return data_handler.get_all_from_table('boards')