Exemple #1
0
        private async Task <UserContextData> SetUpSessionWebService(LoginViewModel usuario)
        {
            LawsoftServiceConnection connection = new LawsoftServiceConnection(usuario.Domain, true);
            await connection.SetUpWebService();

            return(new UserContextData(connection.UrlServico, usuario.Domain));
        }
        private async Task <UserContextData> SetUpSessionWebService(User usuario)
        {
            LawsoftServiceConnection connection = new LawsoftServiceConnection(usuario.Dominio, true);

            _logger.Information("LoginOld passo 2: : usuario -> {@User} | Connection - > @LawsoftServiceConnection", usuario, connection);
            await connection.SetUpWebService();

            _logger.Information("LoginOld passo 3: : usuario -> {@User} | Connection - > @LawsoftServiceConnection", usuario, connection);
            return(new UserContextData(connection.UrlServico, usuario));
        }