Пример #1
0
def clinicExistsByData(name, address):
    clinic = ClinicTDG.findByData(name, address)
    if clinic is not None:
        return True
    return False
Пример #2
0
def getClinicByData(name, address):
    clinic = ClinicTDG.findByData(name, address)
    if clinic is not None:
        return dict(clinic)
    return False