예제 #1
0
파일: register.py 프로젝트: Hoomanfr/pycore
    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()
예제 #2
0
파일: login.py 프로젝트: Hoomanfr/pycore
 def execute(self):
     login_service = LoginService()
     login_service.user_name = self.user_name.lower()
     login_service.password = self.password
     return login_service.execute()