Exemple #1
0
        private static ComparisonForUser GetComparisonForUser(UserLanguages userLanguages, string group)
        {
            long languageId       = WebSettingsConfig.Instance.GetLanguageFromId();
            var  comparisonsQuery = new ComparisonsQuery(languageId);
            ComparisonForUser comparisonForUser = comparisonsQuery.GetWithFullInfo(userLanguages, group);

            return(comparisonForUser);
        }
Exemple #2
0
        internal ComparisonForUser GetComparison(string title)
        {
            var comparisonsQuery = new ComparisonsQuery(_languageId);

            return(comparisonsQuery.GetWithFullInfo(_userLanguages, title));
        }