member_ship_instance_view: MembershipPlansView = MembershipPlansView()
return member_ship_instance_view.add_plan(membership_plan_data=membership_plan_data)
@memberships_bp.route('/api/v1/membership-plans', methods=["GET"])
def get_membership_plans() -> tuple:
member_ship_instance_view: MembershipPlansView = MembershipPlansView()
return member_ship_instance_view.return_all_plans()
# TODO complete the integration of memberships view and the
# API also refer to admin app
complete the integration of memberships view and the
API also refer to admin app
https://github.com/freelancing-solutions/gcp-database-as-a-service-stock-markets/blob/cf171fa2d415e1ae119f38d0cb6bc9a2678e9228/data_service/api/memberships/routes.py#L113
b87025c4d02cc9adebe0e1468a2f2d7b5fb9a27d