14 lines
311 B
Python
14 lines
311 B
Python
from src.controller import BaseController
|
|
|
|
from .model import Organizationtype
|
|
class OrgController(BaseController):
|
|
__myclass__=Organizationtype
|
|
__jsonid__='organizationtype'
|
|
|
|
#def get_all():
|
|
# Organizationtype.query.all()
|
|
|
|
#def get(id):
|
|
# Organizationtype.query.get(id)
|
|
controller=OrgController()
|