Пример #1
0
        public Login UserLogin(Login objLogin)
        {
            SamsClient samsClient = new SamsClient();

            AIA.Life.Integration.Services.SamsIntegration.User user = new User();
            user.userName      = objLogin.UserId;
            user.loginPassword = objLogin.Password;
            string status = samsClient.AUthenticateImo(user);

            if (status == "Success")
            {
                UserManagementLogic obj = new UserManagementLogic();
                objLogin = obj.UserLogin(objLogin);
            }
            else
            {
                objLogin.Message = status;
            }
            return(objLogin);
        }