Esempio n. 1
0
        public GenericResponse <LoginContract> UserLogin(LoginRequest request)
        {
            Business.Banking.Login loginBusiness = new Business.Banking.Login();
            var response = loginBusiness.UserLogin(request);

            return(response);
        }
Esempio n. 2
0
        public GenericResponse <List <LoginContract> > GetAllUsers(LoginRequest request)
        {
            Business.Banking.Login loginBusiness = new Business.Banking.Login();
            var response = loginBusiness.GetAllUsers(request);

            return(response);
        }
Esempio n. 3
0
        //Login işlemleri
        public LoginResponse GetLogin(LoginRequest request)
        {
            Business.Banking.Login customerBusiness = new Business.Banking.Login();
            var isSuccess = customerBusiness.GetLogin(request.LoginContract);


            if (isSuccess)
            {
                return(new LoginResponse()
                {
                    IsSuccess = true
                });
            }
            return(new LoginResponse()
            {
                IsSuccess = false
            });
        }