def report_update_layout_end(): data = request_data() provider = ReportProvider(_write_session) layout_provider = ReportLayoutProvider(_write_session) provider.update_layout_end(data['id'], data['layout'], layout_provider.all()) return provider.detail(data['id'])
def report(): id = request_data() provider = ReportProvider(_read_session) res = provider.detail(id) return res