from ..control.CDoctor import CDoctor
from ..extensions.base_resource import Resource


class ADoctor(Resource):

    def __init__(self):
        self.cdoctor = CDoctor()

    def get(self, doctor):
        apis = {
            'get': self.cdoctor.get,
            'list': self.cdoctor.list,
        }
        return apis

    def post(self, doctor):
        apis = {
            'add_or_update_doctor': self.cdoctor.add_or_update_doctor
        }
        return apis

6cf5224a2df0ceeef7dd314c984a08f84e9356c2
<mask token>

<mask token>


class ADoctor(Resource):
    <mask token>
    <mask token>

    def post(self, doctor):
        apis = {'add_or_update_doctor': self.cdoctor.add_or_update_doctor}
        return apis

<mask token>


class ADoctor(Resource):

    def __init__(self):
        self.cdoctor = CDoctor()

    def get(self, doctor):
        apis = {'get': self.cdoctor.get, 'list': self.cdoctor.list}
        return apis

    def post(self, doctor):
        apis = {'add_or_update_doctor': self.cdoctor.add_or_update_doctor}
        return apis

from ..control.CDoctor import CDoctor
from ..extensions.base_resource import Resource


class ADoctor(Resource):

    def __init__(self):
        self.cdoctor = CDoctor()

    def get(self, doctor):
        apis = {'get': self.cdoctor.get, 'list': self.cdoctor.list}
        return apis

    def post(self, doctor):
        apis = {'add_or_update_doctor': self.cdoctor.add_or_update_doctor}
        return apis

from ..control.CDoctor import CDoctor
from ..extensions.base_resource import Resource


class ADoctor(Resource):

    def __init__(self):
        self.cdoctor = CDoctor()

    def get(self, doctor):
        apis = {
            'get': self.cdoctor.get,
            'list': self.cdoctor.list,
        }
        return apis

    def post(self, doctor):
        apis = {
            'add_or_update_doctor': self.cdoctor.add_or_update_doctor
        }
        return apis
