def delete(self): # delete a bill-type Database.delete(billTypeConstant.COLLECTION, {'_id': self._id})
def delete(self): # delete a employee by the admin Database.delete(employeeConstants.COLLECTION, {'_id': self._id})
def delete(cls, bill_id): Database.delete(billConstant.COLLECTION, {'_id': bill_id})
def delete(self): # delete a manager by the admin # print(Database.find_one(managerConstants.COLLECTION, {'_id': self._id})) Database.delete(managerConstants.COLLECTION, {'_id': self._id})