Exemple #1
0
    def execute(self):
        from pyclaim.domain.aggregates.user.model.user import User

        user = User()
        user.user_name = self.user_name.lower()
        user.password = self.password
        user.create()
        login_service = Login()
        login_service.user_name = self.user_name
        login_service.password = self.password
        return login_service.execute()
Exemple #2
0
 def execute(self):
     login_service = LoginService()
     login_service.user_name = self.user_name.lower()
     login_service.password = self.password
     return login_service.execute()