def ac_sale(): parameters = CombinedMultiDict([request.args, request.form]) response = sale_profit(parameters) return respond(response)
def rent(): parameters = request.get_json() response = rent_car(parameters) return respond(response)
def revoke(): parameters = request.get_json() response = rent_revoke(parameters) return respond(response)
def get_car(): parameters = CombinedMultiDict([request.args, request.form]) response = car_info(parameters) return respond(response)
def sell(): parameters = request.get_json() response = sell_car(parameters) return respond(response)
def post_one(): parameters = request.get_json() response = create_blog(parameters) return respond(response)
def save_car(): parameters = request.get_json() response = add_car(parameters) return respond(response)
def post_comment(blog_id): parameters = request.get_json() response = create_comment(parameters, blog_id) return respond(response)
def get_single(blog_id): parameters = CombinedMultiDict([request.args, request.form]) response = get_blog(parameters, blog_id) return respond(response)
def get_all(): parameters = CombinedMultiDict([request.args, request.form]) response = list_blogs(parameters) return respond(response)
def save_college(): parameters = CombinedMultiDict([request.args, request.files]) response = add_college(parameters) return respond(response)
def get_college(): parameters = CombinedMultiDict([request.args, request.form]) response = list_college(parameters) return respond(response)