예제 #1
0
 def deleteAccountType(self, id):
     accounttype = AccountService().getAccountType(id)
     if accounttype:
         accounttype.delete()
예제 #2
0
 def deleteCurrency(self, id):
     currency = AccountService().getCurrency(id)
     if currency:
         currency.delete()