(self, dto)
Update existing interest
Update existing interest
Update existing interest
def update(self, dto):
        """ Update existing interest """
        self.name = dto.name
        db.session.commit()
def update ( self , dto ) : self . name = dto . name db . session . commit ( )