Esempio n. 1
0
        private void GetVisitedSites()
        {
            HideErrorMessage();
            var result = QueryLogService.GetTopSitesByUser(SelectedUser, TopRows, LastDays);

            result.Match(right => {
                VisitedSites = right;
            }, ShowErrorMessage);
        }
Esempio n. 2
0
        // ---------------------------------------------------------------------------------------------

        private void GetUsers()
        {
            HideErrorMessage();
            var result = QueryLogService.GetUsers();

            result.Match(right => {
                UserList = right;
            }, ShowErrorMessage);
        }