Exemplo n.º 1
0
def get_changenote_state_by_id(row_id):
    dao  = ChangeNoteStateDAO()
    changenote_states = dao.get(row_id)
    
    return { "changenote_states": changenote_states.as_dict() }, 200
Exemplo n.º 2
0
def get_changenote_states(count, start):
    dao  = ChangeNoteStateDAO()
    changenote_states = dao.get_all(count, start)
    
    return { "changenote_states": convert_obj_list_to_dict_list(changenote_states) }, 200