from application_business_rules.memo_handle_interactor import MemoHandleInteractor
from flask import request


class FlaskController:

    def get(self, memo_id: int):
        return MemoHandleInteractor().get(memo_id)

    def save(self, memo_id: int, request: request):
        # memo = request.form["memo"]
        memo = request.json["memo"]
        return MemoHandleInteractor().save(memo_id, memo)


70daa87e4a11ae90ebe482fa9d58620740a9e11c
<mask token>


class FlaskController:
    <mask token>
    <mask token>

<mask token>


class FlaskController:
    <mask token>

    def save(self, memo_id: int, request: request):
        memo = request.json['memo']
        return MemoHandleInteractor().save(memo_id, memo)

<mask token>


class FlaskController:

    def get(self, memo_id: int):
        return MemoHandleInteractor().get(memo_id)

    def save(self, memo_id: int, request: request):
        memo = request.json['memo']
        return MemoHandleInteractor().save(memo_id, memo)

from application_business_rules.memo_handle_interactor import MemoHandleInteractor
from flask import request


class FlaskController:

    def get(self, memo_id: int):
        return MemoHandleInteractor().get(memo_id)

    def save(self, memo_id: int, request: request):
        memo = request.json['memo']
        return MemoHandleInteractor().save(memo_id, memo)

from application_business_rules.memo_handle_interactor import MemoHandleInteractor
from flask import request


class FlaskController:

    def get(self, memo_id: int):
        return MemoHandleInteractor().get(memo_id)

    def save(self, memo_id: int, request: request):
        # memo = request.form["memo"]
        memo = request.json["memo"]
        return MemoHandleInteractor().save(memo_id, memo)

